GetSimultaneous {wildlifeDI}R Documentation

Identify simultaneous fixes between trajectories

Description

The function GetSimultaneous identifies and extracts simultaneous fixes, within a given tolerance limit, between two movement trajectories.

Usage

GetSimultaneous(traj1, traj2, tc = 0)

Arguments

traj1

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

traj2

same as traj1.

tc

time threshold for determining simultaneous fixes. For simplicity, tc is always taken in seconds.

Details

This function is used to determine the simultaneous fixes between two movement datasets facilitating further analysis.

Value

A move2 object containing two individuals, representing the two original move2 objects, each containing only those fixes that are deemed simultaneous.

See Also

GetTO

Examples

library(move2)
data(deer)
deer37 <- deer[mt_track_id(deer) == '37',]
deer38 <- deer[mt_track_id(deer) == '38',]
deer_sim <- GetSimultaneous(deer37, deer38, tc = 7.5*60)
table(deer$id)
table(deer_sim$id)


[Package wildlifeDI version 1.0.0 Index]