residcov {nmixgof} | R Documentation |
Plot residuals against covariates
Description
A convenience function to plot rq residuals against all untransformed numeric covariates. Site-sum randomized quantile residuals are used for site covariates while marginal residuals are used for observation covariates. The same random residual draws are reused for different covariates.
Usage
residcov(umFit, ...)
Arguments
umFit |
An object of class unmarkedFit from a model fitted using pcount. |
... |
Plot arguments. |
Examples
library(unmarked)
umf = unmarkedFramePCount(y = shoveler$y, obsCovs = shoveler$obs, siteCovs = shoveler$site)
fmP = pcount(~scale(date) + scale(reedcover) ~ scale(log(water)) + scale(latitude),
data = umf, K = 80)
residcov(fmP)
[Package nmixgof version 0.1.0 Index]