plotXLoadings.pls: X loadings plot for PLS

View source: R/pls.R

plotXLoadings.plsR Documentation

X loadings plot for PLS

Description

Shows plot with X loading values for selected components.

Usage

## S3 method for class 'pls'
plotXLoadings(
  obj,
  comp = if (obj$ncomp > 1) c(1, 2) else 1,
  type = "p",
  show.axes = TRUE,
  show.legend = TRUE,
  ...
)

Arguments

obj

a PLS model (object of class pls)

comp

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

type

type of the plot

show.axes

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

show.legend

logical, show or not legend on the plot (when it is available)

...

other plot parameters (see mdaplotg for details)

Details

See examples in help for pls function.


mdatools documentation built on Aug. 13, 2023, 1:06 a.m.