I am running logistic exposure nest survival in R. I tried to plot daily nest survival according the best variables (AICc) using visreg library:
mod=glmer(sv~V1+(1|st), data=aa, family=binomial(logexp(exposure=nestdata$exposure))
visreg(mod, "V1", scale="response")
I always get the error:
Error in data.frame(xy[[j]]$x$DD, visregFit = xy[[j]]$y$fit, visregLwr = xy[[j]]$y$lwr, : arguments imply differing number of rows: 101, 182
Could someone help me with this please?
Thanks,