get_spatial_threshold function

To obtain spatial threshold for calculating interactions from raw GPS observations. The threshold is obtained as the distance interval that captures maximum number of inter-individual interactions.

To obtain spatial threshold for calculating interactions from raw GPS observations. The threshold is obtained as the distance interval that captures maximum number of inter-individual interactions.

get_spatial_threshold(species_interactions, interval_size)

Arguments

  • species_interactions: A dataframe consisting of individual interactions within maximum possible distance
  • interval_size: Minimum interval size within which the number of interactions should be calculated

Returns

Spatial threshold in meters

Examples

data(elk_all_interactions_2010) get_spatial_threshold(elk_all_interactions_2010, interval_size = 2)
  • Maintainer: Prabhleen Kaur
  • License: MIT + file LICENSE
  • Last published: 2024-03-25

Useful links