[R] help: creating a unified histogram

Jim Lemon jim at bitwrit.com.au
Mon Dec 28 05:03:47 CET 2009

On 12/28/2009 06:45 AM, Yael Yohai wrote:
> Good evening,
> I would like to put the histograms of several matrices on the same graph,
> together on a unified histogram (instead of having one bar per value on the
> x-axis, have multiple bars: one representing each matrix, with different
> colored bars for example to distinguish between the matrices). I couldn't
> find a function doing that involving "hist",  "plot" nor other plotting
> functions. Is there a function which does this?
Hi Yael,
See the last example for the barp function in the plotrix package.


More information about the R-help mailing list