if (FALSE) {
rpartTrain <- train(Class ~ .,
data=Sonar,
trControl = ctrl1,
method='rpart')
rfTrain <- train(Class ~ .,
data=Sonar,
trControl = ctrl1,
method='rf')
bigList <- c(model_list1, model_list2)
}
Run the code above in your browser using DataLab