GetTO {wildlifeDI}R Documentation

Get period where two tracks overlap

Description

The function GetTO identifies and extracts fixes of a tracking dataset that overlap in time with all other trajectories.

Usage

GetTO(traj, tb = 0)

Arguments

traj

an object of the class move2 which contains the time-stamped movement fixes of >= 1 individual. For more information on objects of this type see help(mt_as_move2).

tb

(optional) time threshold (i.e., time buffer) for considering if fixes are in the overlap period (in seconds).

Details

This function is used to determine the fixes that overlap in time between two trajectories.

Value

A single move2 object containing the fixes from traj that temporally overlap. If more than 2 individuals it will take the maximum of the earliest start-time from all individuals and minimum of the latest end-time of all individuals.

See Also

checkTO

Examples

data(deer)
deer_to <- GetTO(deer)


[Package wildlifeDI version 1.0.0 Index]