Hello! I'm interested in using my model results to predict to a slightly larger area (despite all the caveats). Ultimately the goal is to use RSF-type covariates in the mask to better inform the predicted estimates for areas not sampled, but that will come later.
I've noticed that the region.N command gives very different results if the mask has different spacing, even if the boundaries and total area of the masks are the same. For example, I used the example code provided for the secr.fit() function to generate a detection history. I then fit a mask to the trap locations and fit a simple model. I created 3 additional masks that encompass a slightly larger area. One of those 3 has the same spacing. The other two have coarser and finer spacing, respectively. If I run region.N() on the larger mask with the same spacing as the original mask, the results are as expected (density * area). However, I get very unexpected results for the other two masks, even though the mask summary indicates nearly exact total areas.
The obvious answer is to make sure the spacings are always the same, but it would be nice to be able to use different spacings for a variety of reasons. Any thoughts? Other than simply not doing this? Thanks!
set.seed(99801)
detectors <- make.grid (nx = 6, ny = 8, detector = "multi")
detections <- sim.capthist (detectors, popn = list(D = 10,
buffer = 100), detectpar = list(g0 = 0.2, sigma = 25))
mask <- make.mask(traps = traps(detections), type = "trapbuffer", buffer = 150, spacing = 1 )
mask2 <- make.mask(traps = traps(detections), type = "trapbuffer", buffer = 250, spacing = 1 )
mask3 <- make.mask(traps = traps(detections), type = "trapbuffer", buffer = 250, spacing = 5 )
mask4 <- make.mask(traps = traps(detections), type = "trapbuffer", buffer = 250, spacing = 0.5 )
summary(mask) # 15.67 ha
summary(mask2) # 33.03 ha
summary(mask3) # 33.05 ha
summary(mask4) # 33.04 ha
secr0 <- secr.fit (detections, mask = mask)
secr0 # D = 13.88
region.N(secr0, region = mask) # E(N) = 217 (as expected)
region.N(secr0, region = mask2) # E(N) = 458 (as expected)
region.N(secr0, region = mask3) # E(N) = 18
region.N(secr0, region = mask4) # E(N) = 1834