Shows a plot with Q residuals vs. Hotelling T2 values for PLS decomposition of x data.
# S3 method for plsres
plotXResiduals(
obj,
ncomp = obj$ncomp.selected,
norm = TRUE,
log = FALSE,
main = sprintf("X-distances (ncomp = %d)", ncomp),
...
)
PLS results (object of class plsres
)
how many components to use (if NULL - user selected optimal value will be used)
logical, normalize distance values or not (see details)
logical, apply log tranformation to the distances or not (see details)
main title for the plot
other plot parameters (see mdaplot
for details)
See examples in help for plsres
function.