I am trying to create a prediction, for decision trees. But every time I execute the line below I receive this error. Even though 'tot_proteins' is a column in my dataset. What could be causing this problem?
Prediction1 <- predict(treeFit,newdata=liver.test[-5],type = 'class')
Thank you!