leaflet_route: Plot routes for training sessions

Description Usage Arguments Examples

Description

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

Usage

1
2
3
leaflet_route(x, session = NULL, threshold = TRUE, ...)

leafletRoute(x, session = NULL, threshold = TRUE, ...)

Arguments

x

A object of class trackeRdata.

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 threshold.

Examples

1
2
3
4
5
## Not run: 
data('runs', package = 'trackeR')
leafletRoute(runs, session = 23:24)

## End(Not run)

Example output

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

trackeR documentation built on May 15, 2019, 5:04 p.m.