View source: R/metrics_calc_group.R
calc_global_metrics | R Documentation |
This function calculates the average speed, polarization and shape of the group through time.
calc_global_metrics(x, geo)
x |
A dataframe of a timestep of a group. |
geo |
Logical, whether positions are geographic coordinates, default = FALSE. |
A dataframe with one row,
with the group metrics for that timesteps, with columns:
set
, t
, pol
, speed
, shape
, N
(number of individuals),
missing_ind
(whether some individuals are missing).
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.