Re: [R] How to create a correlation table for categorical data???

From: Michael Dewey <med_at_aghmed.fsnet.co.uk>
Date: Fri 06 Jan 2006 - 07:57:16 EST

At 19:07 04/01/06, fabio crepaldi wrote:
>Hi,
> I need to create the correlation table of a set of categorical data
> (sex, marital_status, car_type, etc.) for a given population.
> Basically what I'm looking for is a function like cor( ) working on
> factors (and, if possible, considering NAs as a level).

If they are ordered have you considered downloading the polycor package?

Michael Dewey
med@aghmed.fsnet.co.uk
http://www.aghmed.fsnet.co.uk/home.html



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 Received on Fri Jan 06 08:21:26 2006

This archive was generated by hypermail 2.1.8 : Fri 06 Jan 2006 - 14:15:18 EST