Learn R Programming

plotrix (version 1.41)

multhist: Plot a multiple histogram, as a barplot

Description

Given a list, plots a side-by-side barplot containing the histograms of the elements

Usage

multhist(x,...)

Arguments

x
a list of numeric vectors
...
additional arguments to barplot

Value

  • plots a side-by-side barplot of the histograms

See Also

hist,barplot

Examples

Run this code
l <- list(runif(10)*10,1:10,c(1,1,1,1,4,8))
 multhist(l)

Run the code above in your browser using DataLab