Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

c.train

S3 definition for concatenating train objects


Description

take N objects of class train and concatenat into an object of class caretList for future Ensamble'ing

Usage

## S3 method for class 'train'
c(...)

Arguments

...

the objects of class train to bind into a caretList

Value

a caretList object

Examples

## 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)

caretEnsemble

Ensembles of Caret Models

v2.0.1
MIT + file LICENSE
Authors
Zachary A. Deane-Mayer [aut, cre], Jared E. Knowles [aut]
Initial release
2019-12-11

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.