plot_groupbar_h: Grouped horizontal barplot

View source: R/plot_groupbar_h.R

plot_groupbar_hR Documentation

Grouped horizontal barplot

Description

Grouped horizontal barplot

Usage

plot_groupbar_h(
  data,
  item,
  by,
  barpadding = 0.1,
  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

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 horizontal barplot


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