perIdVels | R Documentation |
swaRm
Package.This function calculates headings and speeds based on
consecutive locations of 1 individual. Based on the heading
and the
linear_speed
functions of swaRm
.
perIdVels(per_id, geo)
per_id |
Time series of 1 individual's positional data. |
geo |
whether positions are geographic coordinates, default = FALSE. |
the input dataframe with a new speed and heading (rotational) column.
Marina Papadopoulou m.papadopoulou.rug@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.