[R] Recoding several variables into one use the most recent data

2011-06-27 Thread Christopher Desjardins
Hi, I have the following data management issue. I am trying to combine multiple years of ethnicity data into one variable called ethnic. The data looks similar to the following idethnic07ethnic08 ethnic09ethnic10 1 1 1 11 2

Re: [R] Recoding several variables into one use the most recent data

2011-06-27 Thread David Winsemius
On Jun 27, 2011, at 12:56 PM, Christopher Desjardins wrote: Hi, I have the following data management issue. I am trying to combine multiple years of ethnicity data into one variable called ethnic. The data looks similar to the following idethnic07ethnic08 ethnic09ethnic10 1