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

2010-08-27 Thread Saeed Abu Nimeh
.s...@imail.org > 801.408.8111 > > >> -Original Message- >> 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: [

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

2010-08-26 Thread Greg Snow
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(x) > 'data.frame': 3557238 obs.

[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 level