do_add_set_vels | R Documentation |
This function calculates the headings and speeds of individuals based on two location points and the time taken to travel between those points.
do_add_set_vels(data, geo = FALSE, verbose = FALSE, parallelize = FALSE)
data |
A dataframe with the time series of individuals' positions.
Columns must include: |
geo |
Logical, whether positions are geographic coordinates, default = TRUE. |
verbose |
Logical, whether to post updates on progress, default = FALSE. |
parallelize |
Logical, whether to run the function in parallel, default = FALSE. |
The input dataframe with a new speed and heading (rotational, in rads) columns.
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.