Description Usage Arguments Value
Create ggplot bar graph
1 2 3 4 5 6 7 8 9 10 11 | .create_bars(
df_in,
x,
y,
.fill,
clrs = NULL,
y_ttl = y,
ang = 45,
hjst = 1,
...
)
|
df_in |
data.frame |
x |
Variable to plot on x-axis |
y |
Variable to plot on y-axis |
.fill |
Variable to use for fill color |
clrs |
Vector of colors for plotting |
y_ttl |
Title for y-axis |
ang |
Angle of x-axis text |
hjst |
Horizontal justification for x-axis text |
... |
Additional arguments to pass to ggplot |
ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.