OutcomeObj-methods | R Documentation |
OutcomeObj
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 ]].
## 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, ...)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.