All,
Working with a robust design occupancy modeling approach, I have a covariate (1/0) I am interested in using for modeling detection that indicates whether the species was present in the previous primary sampling period in some abundance (>x or <x). I thought I could treat it as a time-dependent covariate on the primary session using the approach outlined in RMark What's new v1.8.2, but, I keep getting
> wwdo.results<-run.wwdo.models()
Error in make.mark.model(data.proc, title = title, covariates = covariates, :
Error: Variable f used in formula is not defined in data
I defined the variable as f(nnnn) so each of 40 primary occasions (1968-2007) is represented as f1968, f1969, ..., f2007. Am I defining it wrong specific to the primary occasions as I thought fnnnn would be the same as using x1, x2, x3?
Thanks
Bret