Learn R Programming

mdatools (version 0.10.3)

plotYResiduals.plsres: Y residuals plot for PLS results

Description

Shows a plot with Y residuals vs reference Y values for selected component.

Usage

# S3 method for plsres
plotYResiduals(
  obj,
  ncomp = obj$ncomp.selected,
  main = sprintf("Y-residuals (ncomp = %d)", ncomp),
  ...
)

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

Proxy for plotResiduals.regres function.