View source: R/activity_code.r
ovl4 | R Documentation |
Calculates Dhat4 overlap index (see reference) between two kernel distributions.
ovl4(fit1, fit2)
fit1, fit2 |
Fitted activity models of class actmod created using function fitact. |
Uses linear interpolation to impute values from kernel distributions.
Scalar overlap index (specifically Dhat4).
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.
data(BCItime)
oceAct <- fitact(subset(BCItime, species=="ocelot")$time*2*pi)
broAct <- fitact(subset(BCItime, species=="brocket")$time*2*pi)
ovl4(oceAct, broAct)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.