Description Usage Arguments Value
Create a Tufte-style grouped bar chart
1 2 3 4 |
df |
A data frame containing the data to be plotted |
ybreaks |
A vector determining where the y-axis breaks are. |
x_var, |
y_var Characters that name the columns of df to be used for the x and y variables, respectively. |
group |
Character that determines which column of df to group by. |
theme_tufte_opts |
Arguments to be passed to ggthemes::theme_tufte |
geom_bar_opts |
Arguments to be passed to ggplot2::geom_bar |
A ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.