plot_barplot: Visualize a barplot.

View source: R/plot-barplot.R

plot_barplotR Documentation

Visualize a barplot.

Description

Visualize a barplot.

Usage

plot_barplot(
  df_origin,
  df_var,
  sort = FALSE,
  bar_abs_size = 3.5,
  bar_rel_size = 3,
  axes_rel_small = 0.6,
  show_missing = TRUE,
  digits = 1,
  flip = FALSE
)

Arguments

df_origin

source data farme (tibble).

df_var

categorical variable name.

sort

sort bars (boolean).

bar_abs_size

size of absolute values in plot.

bar_rel_size

size of relative values in plot.

axes_rel_small

relative value for small axes text (labels, titles …).

show_missing

include missing values in plot or not (boolean).

digits

amount of label value digits.

flip

flip axes (boolean).

Value

ggplot2 barplot.


inventionate/TimeSpaceAnalysis documentation built on June 13, 2025, 2:48 p.m.