mergeBoxplotStats.list | R Documentation |
Merges a list of boxplot.stats() elements.
## S3 method for class 'list'
mergeBoxplotStats(stats, ...)
stats |
A |
... |
Not used. |
Returns a list
structure in a format that is returned by
boxplot
.
Henrik Bengtsson
library("stats")
x <- matrix(rnorm(1000), ncol=5)
x <- as.data.frame(x)
stats0 <- boxplot(x, plot=FALSE)
stats1 <- lapply(x, FUN=boxplot.stats)
stats1b <- mergeBoxplotStats(stats1)
stopifnot(all.equal(stats0, stats1b))
bxp(stats1b)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.