Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

optTx

Extract or Estimate the Optimal Tx and Decision Functions


Description

If newdata is provided, the results of the statistical method are used to estimate the decision functions and/or optimal tx. If newdata is missing, the estimated decision functions and/or optimal tx obtained for the original training data are returned.

Usage

optTx(x, newdata, ...)

## S4 method for signature 'IQLearnFS,data.frame'
optTx(x, newdata, ..., y = NULL, z = NULL, dens = NULL)

## S4 method for signature 'IQLearnFS,missing'
optTx(x, newdata, ..., y = NULL, z = NULL, dens = NULL)

Arguments

x

a DynTxRegime Object.

newdata

Optional data.frame if estimates for new patients are desired.

...

Optional additional input.

y

Object of class IQLearnFS

z

Object of class IQLearnFS

dens

one of {norm, nonpar}

Details

Methods are defined for all statistical methods implemented in DynTxRegime.


DynTxRegime

Methods for Estimating Optimal Dynamic Treatment Regimes

v4.10
GPL-2
Authors
S. T. Holloway, E. B. Laber, K. A. Linn, B. Zhang, M. Davidian, and A. A. Tsiatis
Initial release
2022-06-05

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.