residqq {nmixgof} | R Documentation |
Qq plot of randomized quantile residuals against standard normal quantiles
Description
Qq plot of randomized quantile residuals against standard normal quantiles
Usage
residqq(umFit, type = "site-sum", main = "Residual qq plot",
plotLine = TRUE, ...)
Arguments
umFit |
An object of class unmarkedFit from a model fitted using pcount. |
type |
The type of randomized quantile residual to plot. One of 'site-sum' or 'observation'. |
main |
Plot label. |
plotLine |
If true, the identity line is added to the plot. |
... |
Further arguments passed to qqnorm. |
Value
A list with x and y coordinates of the qq plot, see qqnorm.
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)
residqq(fmP, "site-sum")
residqq(fmP, "observation")
[Package nmixgof version 0.1.0 Index]