compare_protocols.Rd
Estimating cumulative risk across a list of treatment protocols
compare_protocols(
model_spec,
censor_var,
formulae = NULL,
data,
model_type = "ipw",
...
)
The base data structure and models with the censoring variable omitted
A vector of columns that represent censoring variables for each treatment protocol
The RHS of the formula in the identify_censoring
call
The refrence data
Either 'ipw' or 'aipw' depending on the weighting approach
fit parameters
A list of fits for each treatment protocol