get_spatial_threshold: To obtain spatial threshold for calculating interactions from...

View source: R/get_spatial_threshold.R

get_spatial_thresholdR Documentation

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.

Description

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.

Usage

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

Value

Spatial threshold in meters

Examples

data(elk_all_interactions_2010)
get_spatial_threshold(elk_all_interactions_2010, interval_size = 2)

aniSNA documentation built on May 29, 2024, 11:14 a.m.