Residuals are randomized quantile residuals when response values take on whole numbers (Poisson, Tweedie, binomial, NB2).

# S3 method for sdmTMB
residuals(object, type = c("mle", "sim"), ...)

Arguments

object

An sdmTMB() model

type

Type of residual. Residual at the MLE or based on simulations from the joint precision matrix are available.

...

Passed to residual function. Only n works for binomial.