Learn R Programming

DynTxRegime (version 3.2)

IQLearnSS-class: Class "IQLearnSS"

Description

Results of the second-stage IQ-Learning algorithm.

Arguments

Objects from the Class

Objects can be created by calls of the form new("IQLearnSS", ...). These objects are for convenience in package development and should not be created by users.

Slots

yContHat:

Object of class "numeric." Contrast component of fitted outcome.

yMainHat:

Object of class "numeric." Main effects component of fitted outcome.

delta:

Object of class "numeric." Indicator of compliance with optimal treatment regime.

decisionFunc:

Object of class "matrix." Estimated outcome of interest at each treatment option.

Extends

Classes "IQLearnBase-class" and "'>DynTxRegime," directly.

Class "OutcomeOnly-class" by class "IQLearnBase-class", distance 2.

Methods

DTRstep

signature(object = "IQLearnSS"): Retrieve description of method implemented to obtain object.

fittedCont

signature(object = "IQLearnSS"): Retrieve the estimated contrast component of the outcome.

fittedMain

signature(object = "IQLearnSS"): Retrieve the estimated main effects component of the outcome.

optTx

signature(x = "IQLearnSS", newdata = "data.frame"): Predict optimal treatments for newdata.

optTx

signature(x = "IQLearnSS", newdata = "missing"): Retrieve the optimal treatments for training data.

print

signature(x = "IQLearnSS"): Print key results of method.

show

signature(object = "IQLearnSS"): Show key results of method.

Examples

Run this code
# NOT RUN {
showClass("IQLearnSS")
# }

Run the code above in your browser using DataLab