Skip to contents

Bar Chart by Group and Reasons

Usage

reasons_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.

Value

A plotly object