I am wording with a dataset with 203 variables. I want to hide some of these variables that I am not using.
I noticed for an example with Iris, the person in the tutorial hide the class variable with Iris.feature$class<-NULL
Is there a way I can do the same to my data in one single line? some of the variables I want to hide: Address, Middlename, etc
testData.features$Address<-NULL
testData.features$Middlename <-NULL
What can I possibly do to hide all these variables without copying and pasting repetitively ?