OutcomeSimpleFit_fSet-methods | R Documentation |
OutcomeSimpleFit_fSet
Methods call equivalently named methods defined for TypedFit_fSet
.predictAll(object, newdata)
predicts outcome for all tx options.
Returns a list containing 'optimalTx' the tx yielding the largest
predicted outcome and 'decisionFunc' the matrix of outcomes predicted
for all tx.
Predicted outcomes for tx not available to a pt are NA.
.predictMu(object, newdata)
predicts outcome for all tx options.
Returns the matrix of outcomes predicted for all tx.
Predicted outcomes for tx not available to a pt are NA.
## S4 method for signature 'OutcomeSimpleFit_fSet'
outcome(object, ...)
## S4 method for signature 'OutcomeSimpleFit_fSet,data.frame'
.predictAll(object, newdata, ...)
## S4 method for signature 'OutcomeSimpleFit_fSet,data.frame'
.predictMu(object, data, ...)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.