result object for later re-estimationupdate_outcome.Rdupdate_outcome is a function that updates information about the outcome
in the model_specification object within a result object.
update_outcome(
obj,
new_name = NULL,
new_formula = NULL,
new_estimator = NULL,
drop = FALSE
)A result object
A new variable name
A new formula, which can be described as updates to an existing object
A new function used to estimate the conditional probability of treatment
An indicator of whether to drop any outcome model specification.
If the input to this argument is TRUE than new_name, new_formula, and
new_estimator are ignored
An result object that contains an updated model_specification component.