Maybe _CrossTable_ in gmodels package is what you want.
2006/10/22, Larry White <ljw1001@gmail.com>:>
> -- apologies if this is a dup - i got a bounce saying the message was
> unprocessed.
>
> Is there a straightforward way to get a table with percents in the
> cells rather than counts? I've looked at table, ftable, xtabs, and
> ctab, which did the conversion but returned the results in a single
> row without labels.
>
> any suggestions are appreciated.
> thank you.
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
»ÆÈÙ¹ó
Department of Sociology
Fudan University
[[alternative HTML version deleted]]