Learn R Programming

caretEnsemble (version 2.0.3)

plot.caretEnsemble: Plot Diagnostics for an caretEnsemble Object

Description

This function makes a short plot of the performance of the component models of a caretEnsemble object on the AUC or RMSE metric

Usage

# S3 method for caretEnsemble
plot(x, ...)

Value

A plot

Arguments

x

a caretEnsemble object

...

additional arguments to pass to plot

Examples

Run this code
if (FALSE) {
set.seed(42)
models <- caretList(iris[1:50,1:2], iris[1:50,3], methodList=c("glm", "rpart"))
ens <- caretEnsemble(models)
plot(ens)
}

Run the code above in your browser using DataLab