update_missing is a function that updates information about the missingness in the model_specification object within a result object.

update_missing(obj, new_formula = NULL, new_estimator = NULL, drop = FALSE)

Arguments

obj

A result object

new_formula

A new formula, which can be described as updates to an existing object

new_estimator

A new function used to estimate the conditional probability of treatment

drop

Drops the missingness variable from an analysis (default drop = FALSE)

Value

An result object that contains an updated model_specification component.

Author

M. Alan Brookhart and Alexander Breskin