plotXResiduals.plsres {mdatools} | R Documentation |
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 class 'plsres'
plotXResiduals(
obj,
ncomp = obj$ncomp.selected,
norm = TRUE,
log = FALSE,
main = sprintf("X-distances (ncomp = %d)", ncomp),
...
)
Arguments
obj |
PLS results (object of class |
ncomp |
how many components to use (if NULL - user selected optimal value will be used) |
norm |
logical, normalize distance values or not (see details) |
log |
logical, apply log tranformation to the distances or not (see details) |
main |
main title for the plot |
... |
other plot parameters (see |
Details
See examples in help for plsres
function.
[Package mdatools version 0.14.1 Index]