Message-ID: <15171.16610.31649.70770@gargle.gargle.HOWL>
Date: 2001-07-04T16:14:26Z
From: Martin Maechler
Subject: boxplot(list(m[,1],...,m[,c]))
In-Reply-To: <4.3.2.7.2.20010704155334.00b5ff00@mail.btinternet.com>
>>>>> "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))
Martin Maechler <maechler at stat.math.ethz.ch> http://stat.ethz.ch/~maechler/
Seminar fuer Statistik, ETH-Zentrum LEO D10 Leonhardstr. 27
ETH (Federal Inst. Technology) 8092 Zurich SWITZERLAND
phone: x-41-1-632-3408 fax: ...-1228 <><
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._