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

OptimalObj-methodsR Documentation

Methods Available for Objects of Class OptimalObj

Description

Methods Available for Objects of Class OptimalObj

estimator(x) retrieves the estimated value obtained by a statistical method. Method called determined by class of @optimal.

optTx(x) returns the estimated decision function and/or optimal tx Method called determined by class of @optimal.

optTx(x, newdata) returns an error

print(x) Prints summary information regarding recommended tx and the estimated value. Method called determined by class of @optimal.

show(object) Displays summary information regarding recommended tx and the estimated value. Method called determined by class of @optimal.

summary(object) Returns a summary of estimated decision functions and/or optimal tx. Method called determined by class of @optimal.

Usage

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

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

## S4 method for signature 'OptimalObj,data.frame'
optTx(x, newdata, ...)

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

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

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

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