Shows a plot with Y residuals vs reference Y values for selected component.
# S3 method for plsres
plotYResiduals(
obj,
ncomp = obj$ncomp.selected,
main = sprintf("Y-residuals (ncomp = %d)", ncomp),
...
)PLS results (object of class plsres)
how many components to use (if NULL - user selected optimal value will be used)
main title for the plot
other plot parameters (see mdaplot for details)
Proxy for plotResiduals.regres function.