| boxplotGrob {vit} | R Documentation |
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".
boxplotGrob( data, at = unit(0.15, "native"), height = unit(0.2, "native"), box.color = "lightgrey", median.color = "lightgrey", stat = NULL, stat.color = "blue", show.w = TRUE, show.m = TRUE, name = NULL, gp = gpar(lwd = 2), vp = NULL )
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 |