As I do not have a soil map, I have opted to use Murray’s “addCovariates” to mask command, and this has extrapolated orientation and soil type from the nearest traps to my habitat suitability mask. This has worked, however I get the following error when I try get a density estimate using the “derived(dataset, groups=Orientation)” command :
Error in `[.data.frame`(covariates(capthist), , groups) :
undefined columns selected
From my understanding it seems that SECR is trying to use my capture history to find the Orientation and Soil covariates. When I try model sex and age specific density using the “derived(dataset, groups=Sex)” command, this works fine but when I replace Sex with Orientation or Soil, I get the above error.
I’ve also read through the forum and am worried I don’t have enough recaptures (+-7 for my baited survey). Nonetheless, I’d appreciate any help on the above error, and whether my logic to run this type of analysis is even valid.


Thank you Murray and forum users
Alex