draw.stack: draw.stack

View source: R/common.R

draw.stackR Documentation

draw.stack

Description

Draw stacked bars as in barplot(), but with arbitrary location on x-axis. TODO: extend for circular layouts using draw.arc

Usage

draw.stack(x, xoffset, yoffset = 0, width = 1, space = 0.1, col = NA, ...)

Arguments

x:

numeric vector or matrix of non-negative values

offset:

horizontal location of bars relative to origin

width:

ArtPoon/ggfree documentation built on July 11, 2024, 11:15 a.m.