bw_hbcv | R Documentation |
A simple wrapper for the ks::Hbcv function.
bw_hbcv(x)
x |
2d matrix of data values. |
A numeric vector of estimated x and y bandwidths. Must subset your data if you wish to obtain group specific bandwidths.
Shannon E. Albeke, Wyoming Geographic Information Science Center, University of Wyoming
data("rodents")
# Subset the data for a single species
spec1<- rodents[rodents$Species == "Species1", ]
# Calculate the bandwidth
bw_hbcv(as.matrix(spec1[, c("Ave_C", "Ave_N")]))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.