A dataframe consisting of five columns. The first two columns contain animal ids, third and fourth column contain timestamp of their observations and the final column contains the distance between the two individuals.
Arguments
species_raw
A DataFrame consisting of GPS observations.
It should have at least four columns namely "animal_id", "datetime", "latitude|_rad", and "longitude_rad".
"latitude|_rad", and "longitude_rad" are latitude and longitude values in radians respectively. See function "get_coordinates_in_radian"
to get these values.
temporal_thresh
Temporal threshold in minutes with default 7 minutes
spatial_thresh
The maximum distance in meters within which two animals are considered interacting
n_cores
Number of cores for parallel processing with default 1