Hi listfolks,
Just to follow-up on this. Jez and I corresponded off-list to see what
was going on. It looks like the issue was that the covariate in the
detection function was a character variable, which was coerced into a
factor for fitting the detection function. Unfortunately it seems that
Distance/mrds doesn't currently save this conversion so when the
dsm.var.prop summary() function comes to look at the covariates it
doesn't know what to do with the factor.
Jez was able to solve this by refitting the detection function having
converted the character variable to factor (i.e., data$var <-
as.factor(data$var)) then refitting the dsm with this corrected
detection function.
I'll make some changes to mrds to get around this problem in future but
thought it was worth posting the work-around in case anyone else has
this issue.
cheers,
--dave