ovl4: Index of overlap between circular distributions.

View source: R/activity_code.r

ovl4R Documentation

Index of overlap between circular distributions.

Description

Calculates Dhat4 overlap index (see reference) between two kernel distributions.

Usage

ovl4(fit1, fit2)

Arguments

fit1, fit2

Fitted activity models of class actmod created using function fitact.

Details

Uses linear interpolation to impute values from kernel distributions.

Value

Scalar overlap index (specifically Dhat4).

References

Ridout, M.S. & Linkie, M. (2009) Estimating overlap of daily activity patterns from camera trap data. Journal of Agricultural Biological and Environmental Statistics, 14, 322-337.

Examples

data(BCItime)
oceAct <- fitact(subset(BCItime, species=="ocelot")$time*2*pi)
broAct <- fitact(subset(BCItime, species=="brocket")$time*2*pi)
ovl4(oceAct, broAct)

activity documentation built on Sept. 27, 2023, 9:08 a.m.

Related to ovl4 in activity...