This is the report of the design of a web page using R Markdown that features a map created with Leaflet.
Let’s load the packages needed. If you haven’t download them do it first.
library("leaflet")
MyMap=leaflet()
MyMap=addTiles(MyMap)
MyMap=addMarkers(MyMap,lat= 40.42,lng=-3.70,popup="Madrid")
MyMap