Learn R Programming

mdatools (version 0.9.1)

plotXResiduals.plsres: X residuals plot for PLS results

Description

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

Usage

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