boxplotGrob constructs a horizontally oriented boxplot that describes a vector of data. To create a vertical boxplot, rotate the viewport it is drawn in. boxplotGrobs inherit the #' class "boxplot".
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
data |
A numeric vector of data |
at |
The height on the y axis of the middle of the boxplot |
height |
The height of the boxplot |
box.color |
A character string. The color to use for the box and whiskers |
median.color |
A character string. The color to use for the median line |
show.w |
A logical value that describes whether the whiskers should be drawn |
name |
A name for the grob to be constructed |
gp |
graphical parameters for the boxplot, constructed with gpar() |
vp |
A default viewport to be used when drawing the grob |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.