Learn R Programming

mdatools (version 0.14.2)

plotSelectivityRatio.pls: 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 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.