Learn R Programming

trackeR (version 1.0.0)

leafletRoute: Plot routes for training sessions.

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

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

Run this code
# NOT RUN {
data("runs", package = "trackeR")
leafletRoute(runs, session = 23:24)
# }

Run the code above in your browser using DataLab