Hi all, I am still pretty new to R and am looking for some help with combining values within a variable. I am using the ELS 2002 dataset that is publicly available on the NCES website. The variable I would like to adjust is the BYRACE variable that has values as follows:
1 = Amer. Indian/Alaska Native;
2 = Asian/Pac. Islander;
3 = Black or African American;
4 = Hispanic, Race Specified;
5 = Hispanic, Race Not Specified;
6 = More than one Race;
7 = White
I would like to combine the two values for Hispanics (4 and 5) to be a single value. I am unsure about how to do this. Any help would be greatly appreciated!!