This is a function to extract variable importance from a caretStack.
# S3 method for caretStack
varImp(object, newdata = NULL, normalize = TRUE, ...)
An object of class caretStack
the data to use for computing importance. If NULL, will use the stacked predictions from the models.
a logical indicating whether to normalize the importances to sum to one.
passed to predict.caretList