View source: R/U01-data-validation.R
| check_variables_exist | R Documentation |
Verifies that all variables referenced in formulas exist in the dataset.
check_variables_exist(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.