I'm trying to do some model fitting with a site-specific learned response using the score.test function but am running into the following error:
Error in if (detector(traps(capthist)) %in% .localstuff$simpledetectors) savedlogmultinomial <- logmultinom(capthist, :
the condition has length > 1
I fit a model with only the site-specific learned response (bk) and then am trying to test additional covariates, hoping this will be faster than fitting bk again each time. I'm using the HEX detection function.
Here's my very basic code.
- Code: Select all
st1 <- score.test(model.detect1,sigma~Season,betaindex=c(1,2,4))
Any advice would be greatly appreciated. Thanks!