Description Usage Arguments Value Author(s) See Also
Box chart using ggplot2.
1 2 3 4 |
data |
Data frame for ploting. |
xvar |
Variable name of x. |
yvar |
Variable name of y. |
gvar |
Variable name of grouping factor. |
horizontal |
Logical. If TRUE, the boxes are horizontally presented. Default FALSE. |
xlab |
Label wording of x axis. Default |
ylab |
Label wording of y axis. Default |
title |
Chart title. 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
getAetnaPal
, ggplot2
, ggthemes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.