Learn R Programming

DynTxRegime (version 4.15)

OutcomeNoFit-methods: Methods Available for Objects of Class OutcomeNoFit

Description

Methods return NULL, NA or zero values.

.predictAll(object, newdata) returns a list containing the optimal tx as a vector of NA values and the decision function as a matrix of 0

.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 OutcomeNoFit,data.frame
.predictAll(object, newdata)

# S4 method for OutcomeNoFit,data.frame .predictMu(object, data, ...)

# S4 method for OutcomeNoFit outcome(object, ...)

# S4 method for OutcomeNoFit coef(object, ...)

# S4 method for OutcomeNoFit fitObject(object, ...)

# S4 method for OutcomeNoFit,ANY plot(x, suppress = FALSE, ...)

# S4 method for OutcomeNoFit predict(object, ...)

# S4 method for OutcomeNoFit print(x, ...)

# S4 method for OutcomeNoFit show(object)

# S4 method for OutcomeNoFit summary(object, ...)

Arguments