[R] boxplot(list(m[,1],...,m[,c]))

Gavin Simpson ucfagls at ucl.ac.uk
Thu Jul 5 11:32:26 CEST 2001


> >>>>> "Richard" == Richard Dybowski <rdybowski at btinternet.com> writes:
> 
>     Richard> Given a matrix m, I would like to obtain a boxplot of the
>     Richard> columns of m; in other words,
>     Richard> boxplot(list(m[,1],...,m[,ncol(m)])). At the moment, I am
>     Richard> using
> 
>              <...>
> 
>     Richard> for this purpose. Surely there must be a more eloquent way!
> 
> Indeed!
> It's even in the `Examples' section of  help(boxplot) :
> 
> Use
>         boxplot(data.frame(m))

Hi,

Is it possible to do something similar to

	boxplot(data.frame(m))

but have different scales for each of the boxplots?

The reason I ask is that I have a series of lake chemistry measurements
and I want to plot a diagram with boxplots for a number of variables. 
The variables are measured in different units and some variables are
orders of magnitude bigger than others.  Any help with this would be
appreciated.

Using R 1.3.0 on NT4

Cheers

Gav
-- 
************************************
Gavin Simpson
Postgraduate
Environmental Change Research Centre
University College London			
26 Bedford Way
London
WC1H 0AP

T: 020 7679 5527 (Graduate Room) 020 7679 5536 (Microscope Room)
E: gavin.simpson at ucl.ac.uk
W: http://www.geog.ucl.ac.uk/ecrc
****************************************************************************
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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