[R] xtabs

Chuck Cleland ccleland at optonline.net
Thu Jul 1 12:59:31 CEST 2004

   Try the CrossTable() function in the gregmisc package.


   would have found it for you.

Jason Connor wrote:
> I'm running 1.9.1 on Mac OS X 10.1.
> My simple question is whether there is a crosstabs-like command (I know
> about "xtabs" which is much like "table") that computes not only cell
> counts but also row, column, and cell percents.  Something like
> crosstabs(~x+y) in S-PLUS.

Chuck Cleland, Ph.D.
NDRI, Inc.
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-4495 (Tu, Th)
tel: (732) 452-1424 (M, W, F)
fax: (917) 438-0894

More information about the R-help mailing list