.mcee_check_outcome_constant_within_id | R Documentation |
Check that outcome is constant within each subject (required for distal outcomes)
.mcee_check_outcome_constant_within_id(data, id, outcome)
data |
Data frame |
id |
Column name for subject ID |
outcome |
Column name for outcome |
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.