Learn R Programming

DynTxRegime (version 3.01)

residuals: Extract Model Residuals

Description

For methods that employ residuals, retrieve residuals.

Usage

residuals(object,...)

Arguments

object
An object of class "DynTxRegime".
...
Ignored.

Value

For objects returned by iqLearnFSC(), the residuals of the contrast component regression. For iqLearnFSV(), the standardized fitted residuals. For rwl(), a vector of the residuals used by the method to obtain the optimal treatment. For all other "DynTxRegime" objects, NA.