getSelectivityRatio.pls: Selectivity ratio for PLS model

View source: R/pls.R

getSelectivityRatio.plsR Documentation

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 class 'pls'
getSelectivityRatio(obj, ncomp = obj$ncomp.selected, ...)

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

Value

vector with selectivity ratio values

References

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


mdatools documentation built on Sept. 11, 2024, 7:59 p.m.