bwcalc: Calculate circular kernel bandwidth.

View source: R/activity_code.r

bwcalcR Documentation

Calculate circular kernel bandwidth.

Description

Uses an optimisation procedure to calculate the circular kernel bandwidth giving the best fit to the data.

Usage

bwcalc(dat, K = 3)

Arguments

dat

Numeric data vector of radian times.

K

Integer number of values of kappa over which to maximise (see references for details).

Details

Mainly for internal use.

Value

Single numeric bandwidth value.

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.


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

Related to bwcalc in activity...