Description Usage Arguments Examples
View source: R/rat_stacked_bar.R
A stacked bar chart.
1 | rat_stacked_bar(df, col, group_col)
|
df |
a dataframe |
col |
x-axis variable (numeric) |
group_col |
color fill variable (categorical) |
1 2 3 4 | rat_stacked_bar(jj_data, report_year, race)
jj_data %>%
rat_stacked_bar(report_year, race)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.