Quantcast
Channel: Data Science, Analytics and Big Data discussions - Latest topics
Viewing all articles
Browse latest Browse all 4448

Variable Transformation

$
0
0

@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

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles