[R] Histogram/BoxPlot Panel

Lorenzo Isella lorenzo.isella at gmail.com
Tue Dec 29 12:26:06 CET 2009


Dear All,
I am given 15 different data sets and I would like to generate a panel
showing all of them.
Each dataset will be presented either as a boxplot or as a histogram.
There are several possible ways to achieve this (as far as I know)

(1) using plot and mfrow()
(2) using lattice
(3) using ggplot/ggplot2

I am not very experienced (to be euphemistic) about (2) and (3).
My question then is: how would you try to organize these 15
histograms/boxplots  into a single figure?
Can anyone provide me with a simple example (with artificial data) for
(2) and (3) (or point me to some targeted online resource)?
Any suggestion is welcome.
Many thanks

Lorenzo




More information about the R-help mailing list