View source: R/trackeRdata_plot.R
prepare_route | R Documentation |
data.frame
for use in
leaflet_route
and plot_route
Prepare a data.frame
for use in
leaflet_route
and plot_route
prepare_route(x, session = 1, threshold = TRUE, ...)
x |
a |
session |
which session to prepare the
|
threshold |
if |
... |
Additional arguments to be passed to
|
To be used internally in mapping function and rarely by the user.
A data.frame
with variables longitude
,
latitude
, speed
, SessionID
, longitude0
,
longitude1
, latitude0
, latitude1
. The
observations are ordered according to the timestamp they have in
x
. A suffix of 0 indicates 'start' and a suffix of 1
indicates 'end' at any given observation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.