Learn R Programming

MetaboAnalystR (version 2.0.0)

Get.VIP: Calculate variable importance of projection (VIP) score for PLS object

Description

Users give a pls object ('oscorespls'=T), function calculates VIP score usually one VIP for each component, return is the average of all VIP

Usage

Get.VIP(pls.obj, comp = 2)

Arguments

pls.obj

Input the PLS object

comp

Numeric, input the number of components, by default it is 2