I am looking to calculate the 95% volume contour from a kernel density estimate to estimate an animal's home range.
Normally, I work in R, but I calculated the "kernel density estimate" in ArcGIS so that I could incorporate barriers to movement. To do this, I used the "kernel interpolation with barriers tool". The output of this tool is a raster, where the value for each grid cell is the estimated number of records per km2, given the number and distribution of the actual records it was calculated from. values where the animal is not expected to occur have a value of 0 of less.
My question is, given the output of this tool, how can a calculate the 95% contour? Ideally I would like a solution in R. I know how to import the raster in R, but I don't know of any functions that can accomplish what I want.
I tried the function getVolumeUD
from the move
package, but got an error:
Error in (function (classes, fdef, mtable) :
unable to find an inherited method for function ‘getVolumeUD’ for signature ‘"RasterLayer"’
estUD
objects, which are created from thekernelUD
function in the same package. I've edited by question with more information