Description Usage Arguments See Also
These functions are designed for use within summarise_
, and will
compute common derived parameters for tracks. By default, these functions
will use the expected variable names, as are default in tracks
objects, but they can be overridden.
1 2 3 4 5 6 7 8 9 10 11 12 13 | change(var, order_by = frame, frame_rate = tracks$params$frame_rate,
n = 1)
speed(x = X, y = Y, order_by = frame,
frame_rate = tracks$params$frame_rate)
acceleration(x = X, y = Y, order_by = frame,
frame_rate = tracks$params$frame_rate)
heading(x = X, y = Y, order_by = frame)
angular_velocity(x = X, y = Y, order_by = frame,
frame_rate = tracks$params$frame_rate)
|
var |
A variable for which to calculate the first order differential. |
order_by |
This parameter controls the ordering of |
frame_rate |
All variables with a time dimension, will be calculated based on seconds (not frames). By default this is read from the tracks object. |
n |
Offset for change. See |
x |
X-coordinate. |
y |
Y-coordinate. |
mutate_soc mutate_.tracks
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.