perIdVels {swaRmverse} | R Documentation |
Speed and Heading Calculation based on swaRm
Package.
Description
This function calculates headings and speeds based on
consecutive locations of 1 individual. Based on the heading
and the
linear_speed
functions of swaRm
.
Usage
perIdVels(per_id, geo)
Arguments
per_id |
Time series of 1 individual's positional data. |
geo |
whether positions are geographic coordinates, default = FALSE. |
Value
the input dataframe with a new speed and heading (rotational) column.
Author(s)
Marina Papadopoulou m.papadopoulou.rug@gmail.com
[Package swaRmverse version 0.1.1 Index]