R Markdown

This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see http://rmarkdown.rstudio.com.

When you click the Knit button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this:

library(leaflet)
library(dplyr)
## 
## 다음의 패키지를 부착합니다: 'dplyr'
## The following objects are masked from 'package:stats':
## 
##     filter, lag
## The following objects are masked from 'package:base':
## 
##     intersect, setdiff, setequal, union
city<-c("London","Berlin","Praha","Munchen","Paris")
lat<-c(51.494115,52.485908,50.07554,48.13309,48.812964)
lng<-c(-0.012976,13.526406,14.43335,11.57759,2.521719)
days<-c(12,3,4,5,7)

travelPlan<-data.frame(city=city, lat=lat, lng=lng, days=days)

map<-leaflet(travelPlan) %>% addTiles() %>% setView(lng=8.817423, lat=51.028658, zoom = 4) %>% addCircles(lat=~lat, lng=~lng, radius=~days*2000) %>% addMiniMap(width = 150, height = 150) %>% addPolylines(lat=~lat, lng=~lng, weight=.5);map

내가 가고 싶은 유럽여행 경로,일정정