Re: [R] Fw: removing factor values in the main data frame

2016-03-01 Thread Jeff Newmiller
I advocate not converting to factor in the first place. Delay that until you won't be wanting specific levels to be accounted for. -- Sent from my phone. Please excuse my brevity. On March 1, 2016 9:33:31 AM PST, David L Carlson wrote: >You need to learn how to send emails in plain text since

Re: [R] Fw: removing factor values in the main data frame

2016-03-01 Thread David L Carlson
You need to learn how to send emails in plain text since html gets mangled on r-help. See your message below. If I understand your question, it has to do with what happens to factor levels when you subset your data. Subsetting a factor does not remove empty factor levels. This is documented on t