result
object for later re-estimationupdate_censoring.Rd
update_censoring
is a function that updates information about a
censoring variable in the model_specification
object within a
result
object. The function can drop an existing censoring variable,
re-specify the model for an existing censoring variable, or add a new
censoring variable and model.
update_censoring(
obj,
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 censoring variable from an analysis (default drop = FALSE
)
A result
object that contains an updated model_specification
component.