OutcomeObj-methods: Methods Available for Objects of Class 'OutcomeObj'

Description Usage

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
## 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 documentation built on Nov. 10, 2020, 1:08 a.m.