gg_barplot_percent: Percentage barplot

View source: R/ggplot2.R

gg_barplot_percentR Documentation

Percentage barplot

Description

Percentage barplot

Usage

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
)

Arguments

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


cturbelin/ifnBase documentation built on Nov. 5, 2023, 12:54 p.m.