Description Usage Arguments Details Value References
View source: R/rhrHrefRescaled.R
Use two dimensional reference bandwidth to select a bandwidth for kernel density estimation. Find the smallest value for bandwidth (h) that results in n polygons (usually n=1) contiguous polygons at a given level.
1 2 3 | rhrHrefScaled(xy, range = rhrHref(xy)$h * c(0.01, 1),
trast = rhrRasterFromExt(rhrExtFromPoints(xy, extendRange = 0.2), nrow =
100, res = NULL), numOfParts = 1, levels = 95, tol = 0.1, maxIt = 500)
|
xy |
Instance of |
range |
Numeric vector, indicating the lower and upper bound of the search range. If |
trast |
Instance of |
numOfParts |
Numeric numeric scalar, indicating the number of contiguous polygons desired. This will usually be one. |
levels |
Numeric |
tol |
Numeric scalar, indicating which difference of to stop. |
maxIt |
Numeric scalar, indicating the maximum number of acceptable iterations. |
This implementation uses a bisection algorithm to the find the smallest value
value for the kernel bandwidth within range
that produces an home-range
isopleth at level
consisting of n
polygons. Note, no difference is
is made between the two dimensions.
list
with the calculated bandwidth, exit status and the number of iteration.
Kie, John G. "A rule-based ad hoc method for selecting a bandwidth in kernel home-range analyses." Animal Biotelemetry 1.1 (2013): 1-12.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.