plotXScores.pls: X scores plot for PLS

Description Usage Arguments Details

View source: R/pls.R

Description

Shows plot with X scores values for selected components.

Usage

1
2
3
4
5
6
7
8
9
## S3 method for class 'pls'
plotXScores(
  obj,
  comp = c(1, 2),
  show.axes = T,
  main = "Scores (X)",
  res = obj$res,
  ...
)

Arguments

obj

a PLS model (object of class pls)

comp

which components to show the plot for (one or vector with several values)

show.axes

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

main

main plot title

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.


mdatools documentation built on Sept. 13, 2021, 9:07 a.m.