powered by
Produces a Q-Q plot of residuals from a Hierarchical Zero-Inflated Poisson (HZIP) Model fitted via hzip.
hzip
envelope.HZIP(object, nsim = 100, ...)
Envelope simulation plot.
An object of class HZIP, typically returned by hzip.
HZIP
Integer. Number of simulations used to construct the envelope. Default is 100.
100
Additional arguments (currently ignored).
A simulation envelope is added using Monte Carlo replications.
hzip, residuals.HZIP
residuals.HZIP
# \donttest{ data(salamanders) fit.salamander <- hzip(y ~ mined|mined+spp,data = salamanders) res <- residuals(fit.salamander) envelope.HZIP(res, nsim = 21) # }
Run the code above in your browser using DataLab