Re: [R] Importance of levels in a factor variable

2010-08-27 Thread Saeed Abu Nimeh
- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- project.org] On Behalf Of Saeed Abu Nimeh Sent: Thursday, August 26, 2010 1:40 PM To: r-help@r-project.org Subject: [R] Importance of levels in a factor variable I have a dataset of multiple variables and a response. For example, str

[R] Importance of levels in a factor variable

2010-08-26 Thread Saeed Abu Nimeh
I have a dataset of multiple variables and a response. For example, str(x) 'data.frame': 3557238 obs. of 44 variables: $ response : Factor w/ 2 levels $ var2: Factor w/5000 levels If var2 for example is a factor with 5000 levels, what is the best approach to determine which of these

Re: [R] Importance of levels in a factor variable

2010-08-26 Thread Greg Snow
Of Saeed Abu Nimeh Sent: Thursday, August 26, 2010 1:40 PM To: r-help@r-project.org Subject: [R] Importance of levels in a factor variable I have a dataset of multiple variables and a response. For example, str(x) 'data.frame': 3557238 obs. of 44 variables: $ response : Factor w/ 2 levels