Performs all variable-specific validation checks on treatment, time, event, and covariates. Only stops execution if critical errors are found.
validate_data_variables(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.