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().
classif(object, ...)
An object of class "DynTxRegime"
.
ignored.
For objects returned by optimalClass(), see Details section.
For all other "DynTxRegime"
objects, NA.
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.