plot.caretStack {caretEnsemble} | R Documentation |
Plot a caretStack object
Description
This is a function to plot a caretStack.
Usage
## S3 method for class 'caretStack'
plot(x, ...)
Arguments
x |
An object of class caretStack |
... |
passed to plot |
Examples
## Not run:
library("rpart")
models <- caretList(
x=iris[1:100,1:2],
y=iris[1:100,3],
trControl=trainControl(method="cv"),
methodList=c("rpart", "glm")
)
meta_model <- caretStack(models, method="rpart", tuneLength=2)
plot(meta_model)
## End(Not run)
[Package caretEnsemble version 2.0.3 Index]