Description Usage Arguments Examples
This function segments NDS ping data to shifts and trips
1 | segment(speed, threshold, time_diff)
|
speed |
Real time speed of the ping |
time_diff |
The time difference between the nearest two pings. |
threhold |
The threshold you want to separate the ping (in minutes). It is recommended to use 30 minutes to separate into trips, and 8*60 minutes to separate into shifts. |
1 | segment(dat$speed, 30, d$time_diff)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.