Learn R Programming

tinyVAST (version 1.0.1)

residuals.tinyVAST: Calculate deviance or response residuals for tinyVAST

Description

Calculate residuals

Usage

# S3 method for tinyVAST
residuals(object, type = c("deviance", "response"), ...)

Value

a vector residuals, associated with each row of data supplied during fitting

Arguments

object

Output from tinyVAST()

type

which type of residuals to compute (only option is "deviance" or "response" for now)

...

Note used