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)
city<-c("Milano","Paris","London","Hamburg","Budapest")
lat<-c(45.469686920923856,48.858599614002316, 51.50630746117506,53.55344789037129,47.50661237066745 )
lng<-c(9.186998982135849,2.35183872709189,-0.1331947888583224,9.975516945234148,19.05888045535023  )
days<-c(5,6,5,7,7)

travelPlan<-data.frame(city=city,lat=lat,lng=lng,days=days)
map<-leaflet(travelPlan) %>% addProviderTiles(providers$CartoDB.DarkMatter) %>% setView(lng=45.6, lat=9.18, zoom = 5) %>% addCircles(lng=~lng, lat=~lat, radius=~days*3000,color="yellow" ) %>% addMiniMap(width=150,height=150) %>% addPolylines(lng=~lng, lat=~lat, weight=.5, color="yellow");map

이번 여름방학이 되면 저는 한 달 동안 유럽으로 여행할 계획이 있어요. 첫 날에 이탈리아의 밀라노에 방문할 예정이고, 그 다음에는 프랑스의 파리, 영국의 런던, 독일의 함부르그, 헝가리의 부다페스트를 방문할 예정이에요. 각 여행지에 가서 유명한 관광문을 방문하고 가족과 친구들에게 기념품을 많이 사줄 거예요.