plot_groupbar_v: Grouped vertical barplot

View source: R/plot_groupbar_v.R

plot_groupbar_vR Documentation

Grouped vertical barplot

Description

Grouped vertical barplot

Usage

plot_groupbar_v(
  data,
  item,
  by,
  barpadding = 0.1,
  barwidth = 0.5,
  legendtitle = "",
  textsize = 8,
  min_textsize = 5,
  ...
)

Arguments

data

a data.frame object

item

a survey item

by

grouping variable

barpadding

optional argument to adjust padding between bars

barwidth

optional argument to define the bar's width

legendtitle

optional argument to define a legend title

textsize

optional argument to adjust the text's size

min_textsize

optional argument to set the minimum text size

...

further arguments of scale_fill_manual like labels

Value

a grouped vertical barplot


bonschorno/sep documentation built on April 1, 2022, 11:37 a.m.