Learn R Programming

mdatools (version 0.5.3)

plotXResiduals.plsres: X residuals plot for PLS results

Description

Shows a plot with Q2 residuals vs. Hotelling T2 values for PLS decomposition of x data.

Usage

## S3 method for class 'plsres':
plotXResiduals(obj, ncomp = NULL, main = NULL, ...)

Arguments

obj
PLS results (object of class plsres)
ncomp
how many components to use (if NULL - user selected optimal value will be used)
main
main title for the plot
...
other plot parameters (see mdaplot for details)

Details

See examples in help for plsres function.