Hello,
I am trying to use Multi-season (4 years x 2 visits per year of 9 sites) dynamic occupancy model 'function colext' to determine occupancy of certain avian guilds(n=3) in certain treatments(n=3) and I'm having trouble getting the non-logit scale estimates of occupancy for each categorical guild per treatment (Perching*Treatment):
(fm18 <- colext(psiformula = ~ Treatment*Perching,
gammaformula = ~ Treatment,
epsilonformula = ~ Treatment*Perching,
pformula = ~ Treatment*Perching, umf, control = list(trace=1, maxit=1e4)))
using
newData <- data.frame(Perching=c("Per.1", "Per.2", "Per.3"))
round(predict(fm19,type='state', newdata=newData, appendData=TRUE),2)
Error in nrow(X) : object 'X' not found
I could not get the backTransform function to work either.
Species replace sites in this analysis so 36 species x 9 sites x 8 visits =2592 rows in long form converted to unmarkedMultFrame.
Are examples available of how to write this backTransform code with interacting categorical variables?
Edward