View source: R/plot_multi_histogram.R
plot_multi_histogram | R Documentation |
Plot multiple histograms for a given column (x axis) by category (colors). Both the stacked histogram and individual density lines are included, where the colors coincide and are labelled in the margin.
plot_multi_histogram(df, col.feature, col.label)
df |
A data frame. |
col.feature |
A character value specifying the column of |
col.label |
A character value specifying the column of |
A ggplot object.
Kelli F. Johnson
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.