currently I am trying to visualize some GPS data based on a time-series. After research I found a video in youtube which is used R+leaflet+Time dimension plug-in. I think this video is what exactly I want. https://www.youtube.com/watch?v=fabaVT6TSTU
My problem is, when I run the following script, the R show me error: could not find function "addTimeDimension", my question is how to run leaflet(javascript) plug in in leaflet (R).
Really appreciate your help
leaflet(withTime)%>%
+ addTiles()%>%
+ setView(lng=103.8260,lat=1.2502,zoom=14)%>%
+ addCircles()%>%
+ addTimeDimension(
+ options=timeDimensionOptions(
+ timeInterval="2017-12-11 12:23:40/2017-12-11 15:54:40"
+ )
+ )