getVIRank | R Documentation |
Extract autoselected variables from MUVR model object.
getVIRank(MUVRclassObject, model = "mid", n, all = FALSE)
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 |
data frame with order, name and average rank of variables ('order', 'name' & 'rank')
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.