conSummary: Summarize contacts and phases

View source: R/conSummary.R

conSummaryR Documentation

Summarize contacts and phases

Description

Computes some basic summary statistics from a contact analysis.

Usage

conSummary(ltraj)

Arguments

ltraj

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

Details

This function is used following the conPhase function. It computes the following summary statistics from the contact analysis: - total number of fixes in the dataset - total number of fixes deemed a contact - number of contact phases - longest phase duration - mean phase duration - median phase duration - no. of phase where the duration is only one fix (i.e., instantaneous contacts)

Value

A dataframe that can be used to summarize contact phases.

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

## Not run: 
data(does)
doecons <- conProcess(does,tc=15*60,dc=50)
doephas <- conPhase(doecons,pc=60*60)
conSummary(doephas)

## End(Not run)

wildlifeDI documentation built on Nov. 14, 2023, 1:09 a.m.