Get group centroid
get_group_centroid.Rd
Get the group's centroid (mean x and y position) over time.
If specified, only compute if at least min_inds_tracked
are tracked in a given
time step.
Arguments
- xs
N x n_times
matrix giving x coordinates of each individual over time- ys
N x n_times
matrix giving y coordinates of each individual over time- min_inds_tracked
if specified, sets a minimum number of individuals that must be tracked at any moment in time to compute centroid (otherwise the centroid will be NA at that time point