residuals.species_mix: Estimate residuals for a species_mix object

residuals.species_mixR Documentation

Estimate residuals for a species_mix object

Description

The randomised quantile residuals ("RQR", from Dunn and Smyth, 1996) are defined by their marginal distribution function (marginality is over other species observations within that site; see Woolley et al, in prep).

Usage

## S3 method for class 'species_mix'
residuals(object, ..., type = "RQR", quiet = FALSE)

Arguments

object

A returned species_mix model object.

...

additional calls for residual function

type

The type of residuals to estimate. Default is "RQR" (Random Quantile Residuals). But you can also simulate many Random Quantile Residuals using "SimRQR".

quiet

Print out residual issues.


skiptoniam/ecomix documentation built on Sept. 14, 2023, 6:04 a.m.