gg_barplot_percent | R Documentation |
Percentage barplot
gg_barplot_percent(
values,
order = "desc",
label.size = rel(0.9),
axis.label = F,
color = NULL,
scale_color = NULL,
x.rotate = 90,
x.vjust = NULL,
label.nudge = 0.3
)
values |
vector |
order |
if "desc" use decreasing order |
label.size |
size of the labels (can use relative size using ggplot2::rel()) |
axis.label |
if TRUE show axis label |
color |
fill color default will use color |
scale_color |
use this scale for fill colors, TRUE will use brewer palette |
x.rotate |
rotation angle for labels |
x.vjust |
vertical justification for x axis |
label.nudge |
nudge for y-axis labels |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.