Description Usage Arguments Examples
Plot the route ran/cycled during training on an interactive map. Internet connection is required to download the background map. Icons are by Maps Icons Collection https://mapicons.mapsmarker.com
1 2 3 | leaflet_route(x, session = NULL, threshold = TRUE, ...)
leafletRoute(x, session = NULL, threshold = TRUE, ...)
|
x |
A object of class |
session |
A numeric vector of the sessions to be plotted. Defaults to all sessions. |
threshold |
Logical. Should thresholds be applied? |
... |
Additional arguments passed on to
|
1 2 3 4 5 | ## Not run:
data('runs', package = 'trackeR')
leafletRoute(runs, session = 23:24)
## End(Not run)
|
Loading required package: zoo
Attaching package: 'zoo'
The following objects are masked from 'package:base':
as.Date, as.Date.numeric
Attaching package: 'trackeR'
The following object is masked from 'package:base':
append
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.