Add an additional set of bars (geom_bars
) to a plot.
This adds the bars under most existing layers, and isn't added
to the amount of any current bars.
1 | add_backbar(gg, measure, bg_color = "Gray 4", width = 0.65)
|
gg |
The ggplot object on which to add backbars |
measure |
The column in the original data frame containing the backband measure. |
bg_color |
The backbars color. Default is |
width |
The backbars width Default is |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.