| calcVIP | R Documentation | 
Calculate the VIP for PLS-DA
calcVIP(x, ncomp, ...)
x | 
 An object of output from   | 
ncomp | 
 The number of component used in PLS-DA  | 
... | 
 Additional parameters  | 
An vector of VIP value
Bo Wen wenbostar@gmail.com
library(pls)
x <- matrix(rnorm(1000),nrow = 10,ncol = 100)
y <- rep(0:1,5)
res <- plsr(y~x)
calcVIP(res,2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.