Learn R Programming

RVAideMemoire (version 0.9-45-2)

PLSDA.VIP: Variable Importance in the Projection (VIP)

Description

Returns VIP score of each X-variable in a PLS-DA (obtained from plsda).

Usage

PLSDA.VIP(model, graph = FALSE)

Arguments

model
object of class "plsda" (from plsda).
graph
logical: should VIP scores be printed?

Value

  • tabtable of results.
  • sup1name of X-variables having a VIP score > 1.

See Also

plsda

Examples

Run this code
require(mixOmics)
data(yeast)

model.PLSDA <- plsda(t(yeast$data),yeast$strain.cond)
PLSDA.VIP(model.PLSDA)

Run the code above in your browser using DataLab