Learn R Programming

wildlifeDI (version 0.5.1)

conTemporal: conTemporal

Description

Create a summary dataframe of the timing and and duration of contact phases.

Usage

conTemporal(traj, units = "auto")

Value

A data frame, with the time and duration attributes associated with contact phases.

Arguments

traj

an object of the class ltraj which is output from the function conPhase.

units

units of duration e.g., 'mins' (see difftime).

Details

This function is used to calculate the start and end times of contact phases, and their duration following use of the conPhase function.

References

Long, JA, Webb, SL, Harju, SM, Gee, KL (2022) Analyzing Contacts and Behavior from High Frequency Tracking Data Using the wildlifeDI R Package. Geographical Analysis. 54, 648--663.

See Also

conPhase

Examples

Run this code
if (FALSE) {
data(does)
doecons <- conProcess(does,tc=15*60,dc=50)
doephas <- conPhase(doecons,pc=60*60)
conTemporal(doephas)
}

Run the code above in your browser using DataLab