plotSelectivityRatio.pls {mdatools}R 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.


[Package mdatools version 0.14.1 Index]