@sid100158 wrote:
I have created a new variable in R for data preprocessing to extract more information from the existing data.
HighSodium= USDA$Sodium > mean(USDA$Sodium,na.rm=TRUE)
I want to know how I can add a new variable (HighSodium) to the existing data (USDA).So that I can perform remaining preprocessing techniques to the new variable also.
Posts: 2
Participants: 2