This function plots a stacked bar of proportions for an input set of data
Examples
stacked_barplot(
ggplot2::diamonds,
ggplot2::aes(x=cut, fill=clarity, group=color)
)+
ggplot2::facet_wrap(dplyr::vars(color))
This function plots a stacked bar of proportions for an input set of data
stacked_barplot(
ggplot2::diamonds,
ggplot2::aes(x=cut, fill=clarity, group=color)
)+
ggplot2::facet_wrap(dplyr::vars(color))