boxplot | R Documentation |
This is a wrapper for R's boxplot function. See R's documentation for graphics::boxplot for further details.
boxplot(x, Rcss = "default", Rcssclass = NULL, ...)
x |
data for boxplot; either single numeric vector or a list of numeric vectors; see documentation of boxplot() |
Rcss |
style sheet object. Leave "default" to use a style defined via RcssSetDefaultStyle() |
Rcssclass |
character, style class |
... |
Further parameters, see documentation of graphics::boxplot |
# draw a complete boxplot
dataset <- list(A=rpois(30, 10), B=rpois(30, 20))
boxplot(dataset, col=c("#dd0000", "#dd8888"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.