barplotWithText: Plots barplot with text around bar tops

View source: R/general.purpuse.utilities.R

barplotWithTextR Documentation

Plots barplot with text around bar tops

Description

Barplot wrapper

Usage

barplotWithText(
  x,
  t = x,
  adj = c(0.5, 1.1),
  srt = 0,
  text.y = x,
  ylim = c(0, max(x)),
  ...
)

Arguments

x

heights of bars

t

text to be plotted (x by default)

adj

relative text position (see text)

srt

text rotation (see text)

text.y

text position (x by default)

ylim

ylim

...

other barplot options


iaaka/visutils documentation built on Jan. 17, 2025, 11:29 p.m.