Learn R Programming

mdatools (version 0.5.3)

plot.pls: Model overview plot for PLS

Description

Shows a set of plots (x residuals, regression coefficients, RMSE and predictions) for PLS model.

Usage

## S3 method for class 'pls':
plot(x, ncomp = NULL, ny = 1, show.legend = T,
  show.labels = F, ...)

Arguments

x
a PLS model (object of class pls)
ncomp
how many components to use (if NULL - user selected optimal value will be used)
ny
which y variable to show the summary for (if NULL, will be shown for all)
show.labels
logical, show or not labels for the plot objects
show.legend
logical, show or not a legend on the plot
...
other arguments

Details

See examples in help for pls function.