plotResiduals.regres | R Documentation |
Shows plot with Y residuals (difference between predicted and reference values) for selected response variable and complexity (number of components).
## S3 method for class 'regres'
plotResiduals(
obj,
ny = 1,
ncomp = obj$ncomp.selected,
show.lines = c(NA, 0),
show.plot = TRUE,
...
)
obj |
regression results (object of class |
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 |
show.lines |
allows to show the horisontal line at y = 0 |
show.plot |
logical, show plot or just return plot data |
... |
other plot parameters (see |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.