Learn R Programming

caretEnsemble (version 4.0.1)

summary.caretStack: Summarize a caretStack object

Description

This is a function to summarize a caretStack.

Usage

# S3 method for caretStack
summary(object, ...)

Arguments

object

An object of class caretStack

...

ignored

Examples

Run this code
models <- caretList(
  x = iris[1:100, 1:2],
  y = iris[1:100, 3],
  methodList = c("rpart", "glm")
)
meta_model <- caretStack(models, method = "lm")
summary(meta_model)

Run the code above in your browser using DataLab