plotVariance.plsres {mdatools}R 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.


[Package mdatools version 0.14.1 Index]