Validates that the data structure is appropriate for model fitting. Only stops if models cannot be fit numerically.
check_data_structure(data, treatment_var, ps_formula, censor_formula)Invisible NULL if 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.