Re: [R] levels in dataframes

2008-04-22 Thread Peter Alspach
) # now it is gone B C D 1 1 1 HTH Peter Alspach > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Georg Ehret > Sent: Wednesday, 23 April 2008 8:58 a.m. > To: r-help > Subject: [R] levels in dataframes > > Dear

[R] levels in dataframes

2008-04-22 Thread Georg Ehret
Dear R community, I wish to ask a short question concerning factor-data in dataframes: When I subset the data and get rid of all data for one level, I still retain the level name (obtained by levels(dataframe$variablename) ). Is there a convenient way to get rid of the levels for which all data