[R] S function crosstabs

Thomas Lumley thomas at biostat.washington.edu
Tue Nov 21 22:16:08 CET 2000

On Tue, 21 Nov 2000, Tim Smits wrote:

> Hello there,
> I'm quite new with R. Does anybody know a true variant in R of the Splus
> function "crosstabs" to create contingency tables, with the possibility
> of assigning a weight variable?

In the development version (soon to be R1.2)  there is a function xtabs()
that does this sort of thing.


Thomas Lumley
Assistant Professor, Biostatistics
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