Returns vector with selectivity ratio values for given number of components and response variable
# S3 method for pls
getSelectivityRatio(obj, ncomp = NULL, ny = 1, ...)
a PLS model (object of class pls
)
number of components to get the values for (if NULL user selected as optimal will be used)
which response to get the values for (if y is multivariate)
other parameters
vector with selectivity ratio values
[1] Tarja Rajalahti et al. Chemometrics and Laboratory Systems, 95 (2009), pp. 35-48.