plot_barplot: Visualize a barplot.

Description Usage Arguments Value

View source: R/plot-barplot.R

Description

Visualize a barplot.

Usage

1
2
3
4
5
plot_barplot(dfname, xlab = "", ylab = "", title = "", sort = FALSE,
  labels_inline = FALSE, amount = FALSE, rotate_x_axis_text = FALSE,
  textsize = 20, titlesize = 25, labelsize = 8, include_na = TRUE,
  digits = 0, ylim = NA, xlim = NA, myriad = TRUE, abs_freq = TRUE,
  symbol = "%")

Arguments

dfname

categorical variable.

xlab

x-axis label.

ylab

y-axis label.

title

plot title.

sort

sort bars (boolean).

labels_inline

inline labels (boolean).

amount

include total amount of observations (boolean).

rotate_x_axis_text

rotate bars (boolean).

textsize

sife of axes texts.

titlesize

title text size.

labelsize

label text size.

include_na

show NAs or not (boolean).

digits

amount of label value digits.

ylim

y-axis range.

xlim

y-axis range.

myriad

use Myriad Pro font.

abs_freq

use absolute or relative freq (boolean).

symbol

relative freq symbol.

Value

ggplot2 barplot.


inventionate/TimeSpaceAnalysis documentation built on May 18, 2019, 5:47 a.m.