Visualize Run2Map

run2map(data = cc_skiing, ...)

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

data(data = cc_skiing) run2map(data = cc_skiing)
#> Error in select(., x, y): could not find function "select"
run2map(data = cc_skiing, color = "red", smoothFactor = 1)
#> Error in select(., x, y): could not find function "select"
# Add circle at starting point run2map(data = cc_skiing) + addCircles(lng = cc_skiing$x[1], lat = cc_skiing$y[1], popup = "START")
#> Error in select(., x, y): could not find function "select"