c.train {caretEnsemble} | R Documentation |
take N objects of class train and concatenate into an object of class caretList for future ensembling
## S3 method for class 'train'
c(...)
... |
the objects of class train to bind into a caretList |
a caretList
object
## Not run:
rpartTrain <- train(Class ~ .,
data=Sonar,
trControl = ctrl1,
method='rpart')
rfTrain <- train(Class ~ .,
data=Sonar,
trControl = ctrl1,
method='rf')
bigList <- c(model_list1, model_list2)
## End(Not run)