Bar Chart by Group and Criteria
Usage
criteria_groupBar(df, varGroupID, strGroupLabel)
Arguments
- df
A data.frame
containing the participant level dataset with eligibility
- varGroupID
A variable to make the stacked bar chart with, i.e. invid
- strGroupLabel
A string
to label the varGroupID
in reference to axes, legend, footnotes.