residqq function

Qq plot of randomized quantile residuals against standard normal quantiles

Qq plot of randomized quantile residuals against standard normal quantiles

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.

Returns

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")
  • Maintainer: Jonas Knape
  • License: GPL-3
  • Last published: 2025-02-12