[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

http://www2.jura.uni-hamburg.de/instkrim/kriminologie/Mitarbeiter/Enzmann/Software/crosstabs.r

Dirk

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

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

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

phone: +49-040-42838.7498 (office)
        +49-040-42838.4591 (Billon)
fax:   +49-040-42838.2344
email: dirk.enzmann at jura.uni-hamburg.de
www: 
http://www2.jura.uni-hamburg.de/instkrim/kriminologie/Mitarbeiter/Enzmann/Enzmann.html




More information about the R-help mailing list