Computes and shows a plot for Selectivity ratio values for given number of components and response variable
# S3 method for pls
plotSelectivityRatio(obj, ny = 1, ncomp = obj$ncomp.selected, type = "l", ...)
a PLS model (object of class pls
)
which response to plot the values for (if y is multivariate), can be a vector.
number of components to count
type of the plot
other plot parameters (see mdaplot
for details)
See vipscores
for more details.