residqq | R Documentation |
Qq plot of randomized quantile residuals against standard normal quantiles
residqq(
umFit,
type = "site-sum",
main = "Residual qq plot",
plotLine = TRUE,
...
)
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. |
A list with x and y coordinates of the qq plot, see qqnorm.
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.