Learn R Programming

DynTxRegime (version 3.01)

PropensityFit-class: Class

Description

Results of a single propensity score regression step.

Arguments

Objects from the Class

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

Slots

small:
Object of class "logical."

TRUE if none or smallest treatment option is missing from predictions. FALSE If largest treatment option is missing from predictions

levs:
Object of class "character."

Vector of treatment options present in data.

Extends

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

Methods

predict
signature(object = "PropensityFit"): Predict propensity for newdata or training data.

Examples

Run this code
showClass("PropensityFit")

Run the code above in your browser using DataLab