Learn R Programming

mdatools (version 0.7.0)

plotSelectivityRatio.pls: Selectivity ratio plot for PLS model

Description

Shows a plot with selectivity ratio values for given number of components and response variable

Usage

"plotSelectivityRatio"(obj, ncomp = NULL, ny = 1, type = "l", main = NULL, xlab = "Variables", ylab = "", ...)

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)
type
type of the plot
main
main title for the plot
xlab
label for x axies
ylab
label for y axis
...
other plot parameters (see mdaplot for details)

References

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