Learn R Programming

DynTxRegime (version 3.01)

EARLOptim-class: Class

Description

Optimization for Efficient Augmentation and Relaxation Learning

Arguments

Objects from the Class

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

Slots

weight:
Object of class "matrix." The weight vectors used in optimization.

surrogate:
Object of class "character." The surrogate of 0-1 loss function used.

Extends

Class "OptimBasic-class" directly.

Methods

optimObj
signature(object = "EARLOptim"): Retrieve optimization result.

.predictOptimalTx
signature(x = "EARLOptim", newdata = "matrix"): Predict optimal treatment for new data.

.predictOptimalTx
signature(x = "EARLOptim", newdata = "data.frame"): Predict optimal treatment for new data.

Examples

Run this code
showClass("EARLOptim")

Run the code above in your browser using DataLab