Learn R Programming

mdatools (version 0.5.3)

getSelectivityRatio.pls: Selectivity ratio for PLS model

Description

Returns vector with selectivity ratio values for given number of components and response variable

Usage

## S3 method for class 'pls':
getSelectivityRatio(obj, ncomp = NULL, ny = 1, ...)

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)
ny
which response to get the values for (if y is multivariate)
...
other parameters

Value

  • vector with selectivity ratio values

References

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