View source: R/remove_consecutive_jumps.R
remove_consecutive_jumps | R Documentation |
Helper function to remove consecutive jumps
remove_consecutive_jumps(
DATA,
RANGE_OBS = 3,
split_vars = c("date", "hour", "s")
)
DATA |
The output from |
RANGE_OBS |
How many observations away must a jump be to be considered non-consecutive? Defaults to 3, s.t. all jumps in the next 3 blocks will be removed. |
split_vars |
By which variables should the data be split? Defaults to |
Returns the data without consecutive jumps
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.