plotSelectivityRatio.pls: Selectivity ratio plot for PLS model

View source: R/pls.R

plotSelectivityRatio.plsR Documentation

Selectivity ratio plot for PLS model

Description

Computes and shows a plot for Selectivity ratio values for given number of components and response variable

Usage

## S3 method for class 'pls'
plotSelectivityRatio(obj, ny = 1, ncomp = obj$ncomp.selected, type = "l", ...)

Arguments

obj

a PLS model (object of class pls)

ny

which response to plot the values for (if y is multivariate), can be a vector.

ncomp

number of components to count

type

type of the plot

...

other plot parameters (see mdaplot for details)

Details

See vipscores for more details.


mdatools documentation built on Sept. 11, 2024, 7:59 p.m.