getVIRank: Get variable importance

View source: R/getVIRank.R

getVIRankR Documentation

Get variable importance

Description

Extract autoselected variables from MUVR model object.

Usage

getVIRank(MUVRclassObject, model = "mid", n, all = FALSE)

Arguments

MUVRclassObject

an object of MUVR class

model

which model to use ("min", "mid" (default), or "max")

n

customize values

all

logical, to get the ranks of all variable or not

Value

data frame with order, name and average rank of variables ('order', 'name' & 'rank')

Examples


data("freelive2")
nRep <- 2
nOuter <- 4
varRatio <-0.6
regrModel <- MUVR2(X = XRVIP2,
                   Y = YR2,
                   nRep = nRep,
                   nOuter = nOuter,
                   varRatio = varRatio,
                   method = "PLS",
                   modReturn = TRUE)
getVIRank(regrModel, model="min")


MUVR2 documentation built on Sept. 16, 2024, 9:06 a.m.