Learn R Programming

DynTxRegime (version 3.01)

classif: Retrieve Classification Value Object

Description

Retrieve the value object returned by the classification method used to estimate an optimal treatment regime when viewed as a weighted classification problem, i.e., method optimalClass().

Usage

classif(object, ...)

Arguments

object
An object of class "DynTxRegime".
...
ignored.

Value

For objects returned by optimalClass(), see Details section. For all other "DynTxRegime" objects, NA.

Details

The exact value and structure of the returned object is determined by the method specified for input moClass of optimalClass(). Because the value object of the modeling function is returned, any methods developed for said object can be applied to the object returned. For example, if the classification method is rpart, the object returned by classif() can be passed as input to residuals.rpart(), path.rpart(), etc. without modification.