residuals: Get the residual values of a predicted value vs the observed...

Description Usage Arguments Value

Description

Get the residual values of a predicted value vs the observed value

Usage

1
2
## S3 method for class 'tdmore'
residuals(object, predicted, observed, weighted = FALSE, inverse = FALSE, ...)

Arguments

object

A TDMore object

predicted

What was predicted, as data.frame

observed

The observed values, as data.frame

weighted

Should the residuals be divided by the standard deviation of the error model?

inverse

if TRUE, perform the inverse operation (assume 'predicted' has IPRED values, and 'observed' has IRES/IWRES values)

...

ignored

Value

The 'predicted' data.frame, with all output values replaced by IRES or IWRES


tdmore-dev/tdmore documentation built on Jan. 1, 2022, 3:21 a.m.