Verifies that all variables referenced in formulas exist in the dataset.
check_variables_exist(data, treatment_var, ps_formula, censor_formula)Invisible NULL if all checks pass; otherwise throws an error.
A data.frame containing the analysis data.
Character string of treatment variable name.
Formula object for propensity score model.
Formula object for censoring model.