viviUpdate
Creates a matrix displaying updated variable importance on the diagonal and variable interaction on the off-diagonal.
viviUpdate(mat, newImp)
mat |
A matrix, such as that returned by |
newImp |
A named vector of variable importances. |
A matrix of values, of class vivid, with updated variable importances.
f <- lm(Sepal.Length ~ ., data = iris[, -5]) m <- vivi(iris[, -5], f, "Sepal.Length") corimp <- abs(cor(iris[, -5])[1, -1]) viviUpdate(m, corimp) # use correlation as updated importance
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.