Learn R Programming

mdatools (version 0.14.2)

getSelectivityRatio.pls: Selectivity ratio for PLS model

Description

Returns vector with Selectivity ratio values. This function is a proxy for selratio and will be removed in future releases.

Usage

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

Value

vector with selectivity ratio values

Arguments

obj

a PLS model (object of class pls)

ncomp

number of components to get the values for (if NULL user selected as optimal will be used)

...

other parameters

References

[1] Tarja Rajalahti et al. Chemometrics and Laboratory Systems, 95 (2009), pp. 35-48.