plotXCumVariance.pls: Cumulative explained X variance plot for PLS

View source: R/pls.R

plotXCumVariance.plsR Documentation

Cumulative explained X variance plot for PLS

Description

Shows plot with cumulative explained X variance vs. number of components.

Usage

## S3 method for class 'pls'
plotXCumVariance(obj, type = "b", main = "Cumulative variance (X)", ...)

Arguments

obj

a PLS model (object of class pls)

type

type of the plot("b", "l" or "h")

main

title for the plot

...

other plot parameters (see mdaplotg for details)

Details

See examples in help for pls function.


svkucheryavski/mdatools documentation built on Aug. 25, 2023, 12:27 p.m.