args_yaxis: Create argument list for axis

View source: R/barplot.R

args_yaxisR Documentation

Create argument list for axis

Description

Create argument list for axis

Usage

args_yaxis(
  side = 2,
  at = graphics::axTicks(side),
  labels = paste0(at, unit),
  unit = "",
  las = 1,
  ...
)

Arguments

side

1: bottom, 2: left, 3: top, 4: right

at

where to put the ticks/labels

labels

vector of character labels

unit

text appended to the labels with paste0

las

numeric in 0,1,2,3; the style of axis labels (see par)

...

additional parameters passed to axis

Value

list of arguments that may be used as args.yasis in mybarplot


KWB-R/kwb.plot documentation built on Oct. 2, 2023, 10:16 p.m.