Plotting distributions by group variables.
plot_dist.Rd
Plotting distributions by group variables.
Arguments
- data
Input
data.frame
.- metric_var
character
indicating metric variable whose distribution is displayed.- group_var
character
indicating categorical variable that is used to group the metric variable visually.- plot_type
character
indicating type of plot, either "ridge_plot" or "box_plot". Default is "ridge_plot".