resid.saemix: Extract Model Residuals

resid.saemixR Documentation

Extract Model Residuals

Description

residuals is a generic function which extracts model residuals from objects returned by modelling functions. The abbreviated form resid is an alias for residuals

Usage

## S3 method for class 'SaemixRes'
resid(object, type = c("ires", "wres", "npde", "pd", "iwres", "icwres"), ...)

## S3 method for class 'SaemixObject'
resid(object, type = c("ires", "wres", "npde", "pd", "iwres", "icwres"), ...)

Arguments

object

an SaemixRes or an SaemixObject object

type

string determining which residuals are extracted. Possible values are: "ires" (individual residuals, default), "wres" (weighted population residuals), "npde" (normalised prediction distribution errors), "pd" (prediction discrepancies), "iwres" (individual weighted residuals) and "icwres" (conditional individual weighted residuals). See user guide for details.

...

further arguments to be passed to or from other methods

Value

By default, individual residuals are extracted from the model object


saemix documentation built on Aug. 5, 2022, 5:25 p.m.

Related to resid.saemix in saemix...