directions | R Documentation |
get_directions
is legacy code, whereas get_dcp5
is cleaner and
(possibly) faster
get_directions(x, window_size = 5) get_dcp5(x, window_size = 5)
x |
a numeric vector on which to perform the calculation |
window_size |
width of the sliding window, in data points |
a numeric vector of values, giving the number of direction changes in the sliding window that corresponds to each epoch of data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.