run2map: Run2Map

Description Usage Arguments Value Note Examples

Description

Visualize Run2Map

Usage

1

Arguments

data

A run data frame returned by import_run.

...

Further Options passed into Leaflet's addPolylines function.

Value

A leaflet object.

Note

You may customize this plot by either specifying more options within the function or adding other leaflet layers afterwards.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
data(data = cc_skiing)

run2map(data = cc_skiing)

run2map(data = cc_skiing,
        color = "red",
        smoothFactor = 1)

# Add circle at starting point
run2map(data = cc_skiing) + 
addCircles(lng = cc_skiing$x[1],
           lat = cc_skiing$y[1],
           popup = "START")

schliebs/packageTemplate documentation built on May 16, 2019, 7:47 a.m.