Hello I am trying to create the below vector but I am getting the error:Error in RD_Exp$TENURE : $ operator is invalid for atomic vectors. can anyone advise how to overcome this? thanks in advance
RD_Exp <-factor(RD_Exp$RACE,
levels =c(1,2,3,4,5,6,7),**
labelsc("WHITE","BLACK","HISPANIC","ASIAN","INDIAN","HAWIAN","OTHER"))**