| residfit | R Documentation | 
Plots randomized-quantile residuals for binomial N-mixture models against fitted values.
residfit(umFit, type = "marginal", ...)
umFit | 
 An object from a model fitted using pcount.  | 
type | 
 The type of randomized quantile residual to plot. One of 'marginal', 'site-sum' or 'observation'.  | 
... | 
 Plot arguments.  | 
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)
residfit(fmP, "marginal")
residfit(fmP, "site-sum")
residfit(fmP, "observation")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.