Description Usage Arguments Value
A version of "segment0" that could be passed onto a pipe function. Note: "segment0" is a function that separates different shifts
1 |
data |
The data with speed and time_diff to be separated. |
speed |
the variable name of speed to be segmented in the data. |
time_diff |
the variable name of time_diff to weight the speed in the data. |
threshold |
the threshold that is needed to segment the speeds. (the unit of threshold is an hour) |
shift number, which is a vector which indicates the separated shift numbers, with 0 indicated time of taking a rest.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.