varImp.caretStack: Variable importance for caretStack

View source: R/caretStack.R

varImp.caretStackR Documentation

Variable importance for caretStack

Description

This is a function to extract variable importance from a caretStack.

Usage

## S3 method for class 'caretStack'
varImp(object, newdata = NULL, normalize = TRUE, ...)

Arguments

object

An object of class caretStack

newdata

the data to use for computing importance. If NULL, will use the stacked predictions from the models.

normalize

a logical indicating whether to normalize the importances to sum to one.

...

passed to predict.caretList


caretEnsemble documentation built on Sept. 13, 2024, 1:11 a.m.