Learn R Programming

mdatools (version 0.14.1)

plotXYScores.pls: XY scores plot for PLS

Description

Shows plot with X vs. Y scores values for selected component.

Usage

# S3 method for pls
plotXYScores(obj, ncomp = 1, show.axes = TRUE, res = obj$res, ...)

Arguments

obj

a PLS model (object of class pls)

ncomp

which component to show the plot for

show.axes

logical, show or not a axes lines crossing origin (0,0)

res

list with result objects to show the plot for (by defaul, model results are used)

...

other plot parameters (see mdaplotg for details)

Details

See examples in help for pls function.