varImp.caretStack {caretEnsemble} | R 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 |
[Package caretEnsemble version 4.0.1 Index]