OptimalInfo-methods: Methods Available for Objects of Class 'OptimalInfo'

OptimalInfo-methodsR Documentation

Methods Available for Objects of Class OptimalInfo

Description

Methods Available for Objects of Class OptimalInfo

estimator(x) defines the estimated value to be the mean of the vector stored in @estimatedValue

optTx(x) returns the contents of @optimalTx and @decisionFunc as a list

optTx(x, newdata) returns an error

print(x) Prints a summary table of the recommended tx for the training data and the estimated value

show(object) Displays a summary table of the recommended tx for the training data and the estimated value

summary(object) Returns a list containing a summary table of the recommended tx for the training data and the estimated value

Usage

## S4 method for signature 'OptimalInfo'
estimator(x)

## S4 method for signature 'OptimalInfo,missing'
optTx(x, newdata, ...)

## S4 method for signature 'OptimalInfo,ANY'
optTx(x, newdata, ...)

## S4 method for signature 'OptimalInfo'
print(x, ...)

## S4 method for signature 'OptimalInfo'
show(object)

## S4 method for signature 'OptimalInfo'
summary(object, ...)

DynTxRegime documentation built on Nov. 25, 2023, 1:09 a.m.