plotXResiduals.plsres | R Documentation |
Shows a plot with Q residuals vs. Hotelling T2 values for PLS decomposition of x data.
## S3 method for class 'plsres'
plotXResiduals(
obj,
ncomp = obj$ncomp.selected,
norm = TRUE,
log = FALSE,
main = sprintf("X-distances (ncomp = %d)", ncomp),
...
)
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 |
See examples in help for plsres
function.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.