Learn R Programming

mdatools (version 0.9.1)

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

# S3 method for pls
plotSelectivityRatio(obj, ncomp = NULL, ny = 1, type = "l",
  main = NULL, 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

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.