rhrHpi: Select a bandwidth for Kernel Density Estimation

Description Usage Arguments Details Value References See Also

View source: R/rhrHpi.R

Description

Wraps KernSmooth::dpik to select bandwidth for kernel density estimation the plug-in-the-equation method in two dimensios.

Usage

1
rhrHpi(xy, rescale = "none", correct = TRUE, ...)

Arguments

xy

Instance of data.frame, SpatialPoints, SpatialPointsDataFrame or RhrMappedData. If xy is is a data.frame, then the first two columns are assumed to be the x and y coordinates of the relocations.

rescale

Scalar character, indicating if and if how data are rescaled. unitvar rescales x and y coordinates to unit variance, xvar rescales x and y coordinate to variance of x and none, the default, uses the raw data.

correct

Logical scalar that indicates whether or not the estimate should be correct for the two dimensional case.

...

additional arguments passed to KernSmooth::dpik.

Details

This function calcualtes bandwidths for kernel density estimation by wrapping KernSmooth::dpik. If correct is TRUE, the bandwidth is trasformed with power 5/6 to correct for using an univariate implementation for bivariate data (Gitzen et. al 2006).

Value

list with the calculated bandwidth, the standardization method and correction.

References

Gitzen, R. A., Millspaugh, J. J., & Kernohan, B. J. (2006). Bandwidth selection for fixed-kernel analysis of animal utilization distributions. _Journal of Wildlife Management_, 70(5), 1334-1344.

See Also

KernSmooth::dpik


jmsigner/rhr documentation built on June 26, 2020, 8:59 a.m.