Learn R Programming

mdatools (version 0.9.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, comp = 1, main = "XY scores",
  show.axes = T, ...)

Arguments

obj

a PLS model (object of class pls)

comp

which component to show the plot for

main

main plot title

show.axes

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

...

other plot parameters (see mdaplotg for details)

Details

See examples in help for pls function.