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

OutcomeObj-methods

Methods Available for Objects of Class OutcomeObj


Description

Most value objects returned are a list with one element 'outcome'. Methods dispatched and objects returned in the element 'outcome' depend on class of @outcome. Exceptions are noted below.

outcome(object) does not return the overarching list structure, but only the contents of list[[ outcome ]].

plot(x) concatenated 'outcome' to the title if suppress = FALSE.

.predictAll(object, newdata) does not return the overarching list structure, but only the contents of list[[ outcome ]].

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

predict(object) does not return the overarching list structure, but only the contents of list[[ outcome ]].

Usage

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

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

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

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

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

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

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

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

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

## S4 method for signature 'OutcomeObj'
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.