Given a matrix m, I would like to obtain a boxplot of the columns of m; in other words, boxplot(list(m[,1],...,m[,ncol(m)])). At the moment, I am using colpart <- function(m){ L <- list(rep(0,ncol(m))) for(i in 1:ncol(m)){ L[[i]] <- m[,i] } return(L)} boxplot(colpart(m)) for this purpose. Surely there must be a more eloquent way! Richard ------------------------------- Richard Dybowski, 143 Village Way, Pinner, Middlesex HA5 5AA, UK Tel (mobile): 079 76 25 00 92 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>>>>> "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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Prof Brian D Ripley
2001-Jul-05 19:36 UTC
[R] Where is the html page that lists all functions?
On Thu, 5 Jul 2001, Eryk Wolski wrote:> In the previous release of r, theire was a index of all functions in R. > It was was i understand as reference. It was simple to search in this html > page by function name or by keywords. > Why, by god, this page is removed in the Veriosn 1.3 of R???Take a look at R_HOME/doc/html/function.html .... The browser-based search engine was not on that page, but help.start() will lead you to where it has always been. -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._