Learn R Programming

mdatools (version 0.7.0)

plotXScores.pls: X scores plot for PLS

Description

Shows plot with X scores values for selected components.

Usage

"plotXScores"(obj, comp = c(1, 2), main = "X scores", xlab = NULL, ylab = NULL, show.axes = T, show.labels = F, show.legend = T, ...)

Arguments

obj
a PLS model (object of class pls)
comp
which components to show the plot for (one or vector with several values)
main
main plot title
xlab
label for x axis
ylab
label for y axis
show.axes
logical, show or not a axes lines crossing origin (0,0)
show.labels
logical, show or not labels for the plot elements
show.legend
logical, show or not legend for the plot
...
other plot parameters (see mdaplotg for details)

Details

See examples in help for pls function.