[R-sig-Geo] adehabitatHR: combining estUD for kerneloverlaphr
Anthony Fischbach
afischbach at usgs.gov
Fri Aug 3 18:50:08 CEST 2012
I wish to examine indices of home-range overlap of utitilzation distributions
generated by differing home-range estimating methods.
The *adehabitatHR* function *kerneloverlaphr* acts on an object of class
estUDm containing several home-ranges for which the overlap is to be
calculated.
Is there handy way to 'stack' several home-ranges calculated by various
methods into a single estUDm object such that the resulting estUDm object
may be handled by kerneloverlaphr?
Example code:
require(adehabitatHR)
data(buffalo) ## Example dataset used by Benhamou (2011)
## Example estUDm objects gererated as per the example provided in
adehabitatHR (v 0.4.2).
id <- BRB(buffalo$traj, D = 440/60, Tmax = 3*3600, Lmin = 50, type = "ID",
hmin=100, radius = 300, maxt = 2*3600, activity="act",
filtershort=FALSE,
grid = 200, extent=0.1)
rd <- BRB(buffalo$traj, D = 440/60, Tmax = 3*3600, Lmin = 50, type = "RD",
hmin=100, radius = 300, maxt = 2*3600, activity="act",
filtershort=FALSE,
grid = 200, extent=0.1)
ud <- BRB(buffalo$traj, D = 440/60, Tmax = 3*3600, Lmin = 50,
hmin=100, radius = 300, maxt = 2*3600, activity="act",
filtershort=FALSE,
grid = 200, extent=0.1)
x<-* 'Special stacking function'*(id, rd, ud) ## Here is what I am wanting.
Is it possible?
kerneloverlaphr(x, method='VI')
-----
Tony Fischbach, Wildlife Biologist
Walrus Research Program
Alaska Science Center
U.S. Geological Survey
4210 University Drive
Anchorage, AK 99508-4650
AFischbach at usgs.gov
http://alaska.usgs.gov/science/biology/walrus
--
View this message in context: http://r-sig-geo.2731867.n2.nabble.com/adehabitatHR-combining-estUD-for-kerneloverlaphr-tp7580675.html
Sent from the R-sig-geo mailing list archive at Nabble.com.
More information about the R-sig-Geo
mailing list