search for: tp2291704p2291727

Displaying 1 result from an estimated 1 matches for "tp2291704p2291727".

2010 Jul 16
3
how to collapse categories or re-categorize variables?
I am sure this is a very basic question: I have 600,000 categorical variables in a data.frame - each of which is classified as "0", "1", or "2" What I would like to do is collapse "1" and "2" and leave "0" by itself, such that after re-categorizing "0" = "0"; "1" = "1" and "2" =