result
object for later re-estimationupdate_treatment.Rd
update_treatment
is a function that updates information about the treatment
in the model_specification
object within a result
object.
update_treatment(
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
Drops the treatment variable from an analysis (default drop = FALSE
)
An result
object that contains an updated model_specification
component.