Learn R Programming

DynTxRegime (version 4.15)

OptimalObj-methods: 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 OptimalObj
estimator(x)

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

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

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

# S4 method for OptimalObj show(object)

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

Arguments