Hi All
I was hoping for some guidance regarding the use of the ‘covariate.predictions’ function with single-season occupancy models. I have fit models with different covariate structures for Psi, and want to derive model averaged curves for the relationship between Psi and each of the covariates. For each curve, I want to hold the other covariates at their median values, and this is where I am running into trouble. I can produce model averaged curves for each covariate in which the other covariates are held at their means, simply by excluding values for these covariates in the dataframe (as per the helpfile). However, I can’t quite work how to explicitly set values for the other covariates when deriving each curve.
The models I have fit have additive combinations of a total of six variables for Psi. In all models, the probability of detection is modelled as an additive combination of the same three variables. Thus, my models look like:
> effarea.aqveg.conn=mark(occ_data,model="Occupancy",model.parameters=list(Psi=list(formula=~effarea+aqveg+conn),p=list(formula=~effort+date+night)))
I know there is probably a straightforward means of doing this, and I missing something fundamental. Apologies if so!
Regards
Geoff