bandwidth_pi: 'hr_kde_pi' wraps 'KernSmooth::dpik' to select bandwidth for...

bandwidth_piR Documentation

hr_kde_pi wraps KernSmooth::dpik to select bandwidth for kernel density estimation the plug-in-the-equation method in two dimensions.

Description

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

Usage

hr_kde_pi(x, ...)

## S3 method for class 'track_xy'
hr_kde_pi(x, rescale = "none", correct = TRUE, ...)

Arguments

x

[track_xy, track_xyt]
A track created with make_track.

...

Further arguments, none implemented.

rescale

⁠[character(1)]⁠
Rescaling method for reference bandwidth calculation. Must be one of "unitvar", "xvar", or "none".

correct

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

Value

The 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


amt documentation built on March 31, 2023, 5:29 p.m.