Hello Murray,
I'm having trouble running region.N for my models that include non-euclidean distances. I'm using the "habitat model for connectivity" method from the noneuclidean vignette. My top two models both include non-euclidean distances:
wsar.fit.noneuc.g0.10km <- secr.fit(WSARCH,mask=wsar_10km_mask, model = list(noneuc~bio, g0~t), trace=FALSE, details = list(userdist = fn2), fixed = list(sigma=1), method = "Nelder-Mead")
wsar.fit.NULL.noneuc.10km <- secr.fit(WSARCH,mask=wsar_10km_mask, model = list(D~bio, noneuc~bio), trace=FALSE, details = list(userdist = fn2), fixed = list(sigma=1), method = "Nelder-Mead")
fn2 is the function provided from the vignette.
However, when I attempt to run region.N to estimate N within my population range, I keep getting the following error:
region.N(Top_Model, popmask, spacing = 2000, se.N = TRUE)
Error in euc/sig : non-conformable arrays
Any suggestions?
Thanks
Sam