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
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._