Learn R Programming

mdatools (version 0.14.1)

plotVariance.plsres: Explained X variance plot for PLS results

Description

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

Usage

# S3 method for 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.