Description Usage Arguments Value Author(s) See Also
Tornado (stacked bar) chart using ggplot2.
1 2 3 4 |
data |
Data frame for ploting. |
xvar |
Variable name of x. |
freq |
Variable name of y. |
gvar |
Variable name of grouping factor. |
title |
Chart title. Default |
annotate |
Format of the annotation. Currently not working. |
xlab |
Label wording of x axis. Default |
ylab |
Label wording of y axis. Default |
palette |
Palette name, default 'aetnagreen' |
alt.font |
Define alternative font name for plotting. Default 'SimHei'. |
theme |
The theme name. Only accepts themes in ggplot2 and ggthemes. Default 'wsj'. |
plot.background |
The color name of the plot background. Default 'antiquewhite1'. |
... |
ignore |
A ggplot2 object.
Yiying Wang, wangy@aetna.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.