View source: R/S3GenericExtenstions.R
c.train | 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.