View source: R/U01-data-validation.R
| validate_data_variables | R Documentation |
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)
data |
A data.frame containing the analysis data. |
treatment_var |
Character string of treatment variable name. |
ps_formula |
Formula object for propensity score model. |
censor_formula |
Formula object for censoring model. |
Invisible NULL if all checks pass; otherwise throws an error.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.