[R] Percentages in contingency tables *warning trivial question*

Dirk Enzmann dirk.enzmann at jura.uni-hamburg.de
Thu Dec 16 17:45:53 CET 2004

Being still unsatisfied with the CrossTable() function I modified the 
code so that the function will create an output similar to the SPSS 
procedure CROSSTABS. Most probably the code will not meet most R 
programmers' standards, perhaps someone else is willing to optimize it. 
Unfortunately, as an R beginner I am not able to write a documentation 
file (perhaps someone is willing to put some effort in it, too)- the 
parameters that can be used can be found next to "function".

Including the function code here would cause nasty line breaks, you can 
find it at



At Mon, 13 Dec 2004 05:47:17 -0500 Chuck Cleland 
<ccleland at optonline.net> wrote:

 > You might want to look at CrossTable() in the gmodels package
 > of the gregmisc bundle.

Dr. Dirk Enzmann
Institute of Criminal Sciences
Dept. of Criminology
Schlueterstr. 28
D-20146 Hamburg

phone: +49-040-42838.7498 (office)
        +49-040-42838.4591 (Billon)
fax:   +49-040-42838.2344
email: dirk.enzmann at jura.uni-hamburg.de

More information about the R-help mailing list