OutcomeSimpleFit_SubsetList-methods function

Methods Available for Objects of Class OutcomeSimpleFit_SubsetList

Methods Available for Objects of Class OutcomeSimpleFit_SubsetList

Methods call equivalently named methods defined for TypedFit_SubsetList

.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, data)

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_SubsetList' outcome(object, ...) ## S4 method for signature 'OutcomeSimpleFit_SubsetList' predict(object, newdata, ...) ## S4 method for signature 'OutcomeSimpleFit_SubsetList,data.frame' .predictAll(object, newdata, ...) ## S4 method for signature 'OutcomeSimpleFit_SubsetList,data.frame' .predictMu(object, data, ...)
  • Maintainer: Shannon T. Holloway
  • License: GPL-2
  • Last published: 2023-11-24

Useful links