calcVIP: Calculate the VIP for PLS-DA

Description Usage Arguments Value Author(s) Examples

Description

Calculate the VIP for PLS-DA

Usage

1
calcVIP(x, ncomp, ...)

Arguments

x

An object of output from plsr

ncomp

The number of component used in PLS-DA

...

Additional parameters

Value

An vector of VIP value

Author(s)

Bo Wen wenbo@genomics.cn

Examples

1
2
3
4
5
library(pls)
x <- matrix(rnorm(1000),nrow = 10,ncol = 100)
y <- rep(0:1,5)
res <- plsr(y~x)
calcVIP(res,2)

metaX documentation built on Oct. 5, 2016, 4:41 a.m.

Related to calcVIP in metaX...