@siddhant96goswami wrote:
I am trying to transfer the values of a category of observations of a variable to another category of observations of the same variable
here is my code:
Train_Mart$Item_Fat_Content<- recode(Train_Mart$Item_Fat_Content, "c('LF','Low Fat') = 'Low Fat'")
here is the error:
Error: All replacements must be namedTrain_UWu5bXk.csv (849.2 KB)
I have also uploaded the data.
Thanks in advance
Posts: 1
Participants: 1