aroma.core (version 3.3.1)

mergeBoxplotStats.list: Merges a list of boxplot.stats() elements

Description

Merges a list of boxplot.stats() elements.

Usage

# S3 method for list
mergeBoxplotStats(stats, ...)

Value

Returns a list structure in a format that is returned by

boxplot.

Arguments

stats

A list of elements each in a format returned by boxplot.stats.

...

Not used.

Author

Henrik Bengtsson

Examples

Run this code
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)

Run the code above in your browser using DataLab