Learn R Programming

mdatools (version 0.14.1)

getVIPScores.pls: VIP scores for PLS model

Description

Returns vector with VIP scores values. This function is a proxy for vipscores and will be removed in future releases.

Usage

# S3 method for pls
getVIPScores(obj, ncomp = obj$ncomp.selected, ...)

Value

matrix nvar x 1 with VIP score values

Arguments

obj

a PLS model (object of class pls)

ncomp

number of components to count

...

other parameters