powered by
A simple wrapper for the ks::Hpi function.
bw_hpi(x)
A numeric vector of estimated x and y bandwidths. Must subset your data if you wish to obtain group specific bandwidths.
2d matrix of data values.
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_hpi(as.matrix(spec1[, c("Ave_C", "Ave_N")]))
Run the code above in your browser using DataLab