Learn R Programming

mdatools (version 0.7.0)

plotYResiduals.regres: Residuals plot for regression results

Description

Shows plot with Y residuals (difference between predicted and reference values) for selected response variable and complexity (number of components).

Usage

"plotYResiduals"(obj, ny = 1, ncomp = NULL, type = "p", main = NULL, xlab = "Objects", ylab = NULL, show.line = T, ...)

Arguments

obj
regression results (object of class regres)
ny
number of predictor to show the plot for (if y is multivariate)
ncomp
complexity of model (e.g. number of components) to show the plot for
type
type of the plot
main
main title for the plot
xlab
label for x axis
ylab
label for y axis
show.line
logical, show or zero line on the plot
...
other plot parameters (see mdaplot for details)