[R] Crosstabs in R

Marc Feldesman feldesmanm at pdx.edu
Fri Jul 12 22:44:58 CEST 2002

Before I reinvent the wheel, I have need for a relatively straightforward 
crosstabulation (2 x n) function.  I know that R has table(), ftable(), 
xtabs(), and summary(xtabs()), but none of these produce a fully "tricked" 
out cross-tabulation with marginal totals, expected cell frequencies, and 
an array of statistics about the contingency table.

Is there a more complete (something more along the lines of SPSS output) 
crosstabulation function that I've missed?

I've looked in all the usual places but can't seem to find anything besides 
the functions listed above.


Dr. Marc R. Feldesman
Professor and Chairman
Anthropology Department
Portland State University
1721 SW Broadway
Portland, Oregon 97201
email:  feldesmanm at pdx.edu
phone:  503-725-3081
fax:    503-725-3905
PGP Key Available On Request

"Anyway, no drug, not even alcohol, causes the fundamental ills of society.
If we're looking for the source of our troubles, we shouldn't test people
for drugs, we should test them for stupidity, ignorance, greed and love of
power."   P.J. O'Rourke

Powered by Optiplochoerus and Windows 2000 (scary isn't it?)

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