rqRes: Randomized Quantile Residuals

Description Usage Arguments Value

View source: R/rqRes.R

Description

Generic function for Marginal, Site-sum, or Observation Randomized-quantile residuals, as defined in Knape et al. 2018 and available for unmarked models in the nmixgof package. This is a generic function used in the background of other functions.

Usage

1
rqRes(y, pFun, ..., show.warnings = FALSE)

Arguments

y

a matrix of observed counts, with rows = sites and columns = replicates

pFun

CDF function of the count data. For this package it's just always Poisson

...

additional parameters fed to pFun

Value

a matrix of residuals with the same dimensions as the observations, y.


philipshirk/nmmsims documentation built on Feb. 26, 2020, 11:27 a.m.