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