[R] pooling categories in a table

Strumila, John John.Strumila at team.telstra.com
Fri Apr 12 00:52:12 CEST 2002

you're right as usual.  I only looked at the 'arguments' section.

-----Original Message-----
From: ripley at stats.ox.ac.uk [mailto:ripley at stats.ox.ac.uk]
Sent: Friday, 12 April 2002 4:40 AM
To: Strumila, John
Cc: r-help
Subject: RE: [R] pooling categories in a table

On Tue, 9 Apr 2002, Strumila, John wrote:

> beautiful, I didn't realise you could use "c(2,3)".  Its not in "help".  I
> guess it's so obvious now...

I beg to differ: it is under MARGIN in help(apply) (and in a couple of
good books on S).

Also note that some 1.5.0 colSums() will do this sort of thing a mite
more efficiently.

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