plotYResiduals.regmodel function

Y residuals plot for regression model

Y residuals plot for regression model

Shows plot with y residuals (predicted vs. reference values) for selected components.

## S3 method for class 'regmodel' plotYResiduals( obj, ncomp = obj$ncomp.selected, ny = 1, show.lines = c(NA, 0), res = obj$res, ... )

Arguments

  • obj: a regression model (object of class regmodel)
  • ncomp: how many components to use (if NULL - user selected optimal value will be used)
  • ny: number of response variable to make the plot for (if y is multivariate)
  • show.lines: allows to show the horizonta line at 0 level
  • res: list with result objects
  • ...: other plot parameters (see mdaplotg for details)
  • Maintainer: Sergey Kucheryavskiy
  • License: MIT + file LICENSE
  • Last published: 2024-08-19