plotVariance.plsres: Explained X variance plot for PLS results

View source: R/plsres.R

plotVariance.plsresR Documentation

Explained X variance plot for PLS results

Description

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

Usage

## S3 method for class 'plsres'
plotVariance(obj, decomp = "xdecomp", variance = "expvar", ...)

Arguments

obj

PLS results (object of class plsres)

decomp

which dcomposition to use ("xdecomp" or "ydecomp")

variance

which variance to use ("expvar", "cumexpvar")

...

other plot parameters (see mdaplot for details)

Details

See examples in help for plsres function.


mdatools documentation built on Sept. 11, 2024, 7:59 p.m.