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

2006-01-05 Thread Michael Dewey
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

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

2006-01-04 Thread fabio crepaldi
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). To better express myself,