ntrips | R Documentation |
Computes the number of trips by subject
ntrips(data)
data |
A data frame with the steps of trajectories. It is assumed the time between steps is uniform. It must contain contain at least five columns: subject identifier, trip identifier, latitude, longitude, and time of the reading. |
A data frame with the number of trips by subject.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.