Learn R Programming

dsem (version 1.6.0)

residuals.dsem: Calculate residuals

Description

Calculate deviance or response residuals for dsem

Usage

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

Value

A matrix of residuals, with same order and dimensions as argument tsdata

that was passed to dsem.

Arguments

object

Output from dsem

type

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

...

Not used