Description Usage Arguments Examples
Wrapper around geom_bar()
with default parameters to modify the design of the bars. For a description
of the function parameters see geom_bar
1 2 3 4 5 6 7 8 | rg_geom_bar(
mapping = NULL,
stat = "identity",
width = 0.4,
position = ggplot2::position_dodge(width = 0.5),
color = "black",
...
)
|
mapping |
aestetic mapping |
stat |
string, how to calculate height of bars? |
width |
integer, width of the bars |
position |
position of the bars |
color |
color of the frame around the bars |
... |
parameters passed on to |
1 2 | ggplot(BOD, aes(factor(Time), demand)) +
rg_geom_bar(aes(fill = factor(Time)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.