multipleHist: multipleHist

Description Usage Arguments Value See Also Examples

Description

computes histogram for a list of data

Usage

1
2
  multipleHist(l, col = rainbow(length(l)), right = TRUE,
    legend = names(l), ...)

Arguments

l

list of data values

col

colors

right

logical, should the histogram cells are right-closed? see also hist

legend

add legend to plot. Set legend=NULL to hide legend. hist

...

further arguments passed to barplot

Value

a list of objects of class "histogram", see also hist

See Also

hist barplot

Examples

1
2
x <- lapply(c(1, 1.1, 4), rnorm, n=1000);
 multipleHist(x);

sgibb/sgtools documentation built on May 29, 2019, 8:04 p.m.