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.
optTx(x, newdata, ...)# S4 method for IQLearnFS,data.frame
optTx(x, newdata, ..., y = NULL, z = NULL, dens = NULL)
# S4 method for IQLearnFS,missing
optTx(x, newdata, ..., y = NULL, z = NULL, dens = NULL)
a DynTxRegime Object.
Optional data.frame if estimates for new patients are desired.
Optional additional input.
Object of class IQLearnFS
Object of class IQLearnFS
one of {norm, nonpar}
Methods are defined for all statistical methods implemented in DynTxRegime.