ggbar | R Documentation |
Draw a simple bar plot quickly and easily
ggbar(
data,
x,
y,
ymin = NULL,
ymax = NULL,
ymin_err,
ymax_err,
group = NULL,
color = NULL,
fill = NULL,
barcolor = "transparent",
text = NULL,
label,
family = "Comic Sans MS",
size = 4,
angle = 0,
hjust = 0.5,
vjust = 0.5
)
data |
a data.frame |
x |
an expression variable |
y |
an expression variable |
ymin |
an expression variable |
ymax |
an expression variable |
ymin_err |
an expression variable |
ymax_err |
an expression variable |
group |
an expression variable |
color |
an expression variable |
fill |
an expression variable |
label |
an expression variable |
family |
a string |
size |
a numeric |
angle |
a numeric |
hjust |
a numeric |
vjust |
a numeric |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.