residqq: Qq plot of randomized quantile residuals against standard...

Description Usage Arguments Value Examples

Description

Qq plot of randomized quantile residuals against standard normal quantiles

Usage

1
2
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

1
2
3
4
5
6
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")

jknape/nmixgof documentation built on May 7, 2019, 8:59 p.m.