draw.stack | R Documentation |
Draw stacked bars as in barplot(), but with arbitrary location on x-axis. TODO: extend for circular layouts using draw.arc
draw.stack(x, xoffset, yoffset = 0, width = 1, space = 0.1, col = NA, ...)
x: |
numeric vector or matrix of non-negative values |
offset: |
horizontal location of bars relative to origin |
width: |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.