Learn R Programming

caretEnsemble (version 1.0.0)

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 class 'caretEnsemble':
plot(x, ...)

Arguments

x
a caretEnsemble object
...
additional arguments to pass to plot

Value

  • A plot

Examples

Run this code
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