Learn R Programming

DynTxRegime (version 3.2)

TypedSimpleFit-class: Class "TypedSimpleFit"

Description

Results from a simple fit for an outcome regression step.

Arguments

Objects from the Class

Objects can be created by calls of the form new("TypedSimpleFit", ...). These objects are for convenience in package development and should not be created by users.

Slots

type:

An object of class "character." Description of model; one of {"Combined", "moMain", "moCont"}.

txInfo:

An object of class "TxInfoBasic." The treatment information.

model:

An object of class "formula." The model.

solver:

An object of class "methodObj." The information required to obtain parameter estimates.

predictor:

An object of class "methodObj." The information required to obtain predictions.

Extends

Classes "modelObjFit", "SingleDecisionPoint-class", "OutcomeRegression-class", and "SubsetsNotModeled-class" directly.

Methods

.predictAllOutcome

signature(object = "TypedSimpleFit", data = "data.frame"): Predict outcome for all treatment options.

coef

signature(object = "TypedSimpleFit"): Retrieve the parameter estimates for each regression.

fitObject

signature(object = "TypedSimpleFit"): Retrieve the value object returned by each regression method.

plot

signature(x = "TypedSimpleFit"): Generate plots of each regression object.

predict

signature(object = "TypedSimpleFit"): Predict outcome for new data or training data.

print

signature(x = "TypedSimpleFit"): Print each regression object.

show

signature(object = "TypedSimpleFit"): Show key results of each regression object.

summary

signature(object = "TypedSimpleFit"): Retrieve key summary information from each regression object.

Examples

Run this code
# NOT RUN {
showClass("TypedSimpleFit")
# }

Run the code above in your browser using DataLab