I was wondering if there is some other way than the fxi.contour function to plot individual home range centers for marked individuals? fxi.contour would be the obvious choice, but unfortunately I have some sampling occasions during which some detectors are not used (a pre-requisite for using fxi.contour).
library(secr) ## requires >= 2.4.1
## add phony 'usage' attribute to test dataset
usage(traps(captdata)) <- matrix(1, nrow = 100, ncol = 5)
usage(traps(captdata))[c(13,17:19),] <- 0
## try fitting with phony usage
fitCL <- secr.fit(captdata, CL = TRUE)
## plot to compare
par(mfrow = c(1,2))
plot(traps(captdata), markused = TRUE, main = 'ID 5')
fxi.contour(secrdemo.CL, i = 5, plotmode = TRUE, add = TRUE)
plot(traps(captdata), markused = TRUE, main = 'ID 5; Allowing for traps 13, 17:19 not used')
fxi.contour(fitCL, i = 5, plotmode = TRUE, add = TRUE, col='blue')
...although computation is very slow, as with fitting such models...
Users browsing this forum: No registered users and 2 guests