add.barplot.bar: Add Barplot Bar (auto-stacked)

View source: R/plotting.R

add.barplot.barR Documentation

Add Barplot Bar (auto-stacked)

Description

Add Barplot Bar (auto-stacked)

Usage

add.barplot.bar(
  data,
  sd = NULL,
  x = 1,
  width = 0.6,
  col = NULL,
  pal = "greyscale",
  rev.pal = F,
  border = NA,
  angle = NULL,
  density = NULL
)

Arguments

sd

the uncertainty of data (absolute units)

x

the x position to plot the bar

width

the width of the bars drawn

col

the colors for the bars, should be same length as data

pal

the color pallete used in get.pal() if col is not defined

rev.pal

boolean, reverse color assignment?

border

option passed to rect() controlling border appearance

angle

the angle of the hash-marks if density is given

density

the density of hash-marks on shape.

dataa

vector or numeric for the height of the bar to draw

Author(s)

Thomas Bryce Kelly


tbrycekelly/TheSource documentation built on Nov. 7, 2023, 12:48 a.m.