resid.saemix: Extract Model Residuals

Description Usage Arguments Value

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

1
2
3
4
5
6
7
## 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


saemixr/saemix documentation built on Jan. 26, 2020, 12:53 a.m.