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

OutcomeSimpleFit-methods

Methods Available for Objects of Class OutcomeSimpleFit


Description

Methods call equivalently named methods defined for TypedFit

.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.

.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.

Usage

## S4 method for signature 'OutcomeSimpleFit'
coef(object, ...)

## S4 method for signature 'OutcomeSimpleFit'
fitObject(object, ...)

## S4 method for signature 'OutcomeSimpleFit'
outcome(object, ...)

## S4 method for signature 'OutcomeSimpleFit,ANY'
plot(x, suppress = FALSE, ...)

## S4 method for signature 'OutcomeSimpleFit'
predict(object, ...)

## S4 method for signature 'OutcomeSimpleFit,data.frame'
.predictAll(object, newdata)

## S4 method for signature 'OutcomeSimpleFit,data.frame'
.predictMu(object, data, ...)

## S4 method for signature 'OutcomeSimpleFit'
print(x, ...)

## S4 method for signature 'OutcomeSimpleFit'
show(object)

## S4 method for signature 'OutcomeSimpleFit'
summary(object, ...)

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.