[R] Plotting an array of histograms
Thomas Lumley
tlumley at u.washington.edu
Fri Jul 27 22:34:35 CEST 2001
On Fri, 27 Jul 2001 Ted.Harding at nessie.mcc.ac.uk wrote:
> I have a dataset (of say values of X), each value associated
> with a level of a factor F (25 levels in all), in a dataframe.
>
> I want to make a single plot which contains 25 histograms of X,
> one for each level of F and each one appropriately labelled.
>
> (And, since there are 25 levels, a 5x5 array would be nice).
>
> What's the trick in R, please?
Use the histogram function in the new 'lattice' package
-thomas
Thomas Lumley Asst. Professor, Biostatistics
tlumley at u.washington.edu University of Washington, Seattle
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list