plot_bar_v: Simple vertical barplot

View source: R/plot_bar_v.R

plot_bar_vR Documentation

Simple vertical barplot

Description

Simple vertical barplot

Usage

plot_bar_v(
  data,
  item,
  barcolor = "#1F407A",
  barwidth = 0.8,
  textvjust = 2,
  textsize = 8,
  min_textsize = 5
)

Arguments

data

a data.frame object

item

a survey item

barcolor

optional argument to set the color of the bar

barwidth

optional argument to define the width of the bar

textvjust

optional argument to adjust the text's horizontal alignment

textsize

optional argument to adjust the text's size

min_textsize

optional argument to set the minimum text size

Value

a vertical barplot


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