.mcee_check_control_formula | R Documentation |
Validate control formula excludes treatment and outcome
.mcee_check_control_formula(control_formula, treatment, outcome, dp, label)
control_formula |
RHS-only formula for control variables |
treatment |
Treatment column name |
outcome |
Outcome column name |
dp |
Decision point column name (used in error messages) |
label |
Descriptive label for error messages |
Invisibly TRUE if valid, otherwise stops with error
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.