Learn R Programming

mdatools (version 0.9.1)

plotXScores.pls: X scores plot for PLS

Description

Shows plot with X scores values for selected components.

Usage

# S3 method for pls
plotXScores(obj, comp = c(1, 2), main = "X scores",
  show.axes = 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

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.