plot.lspls {lspls} | R Documentation |
Plot method for "lspls"
objects.
## S3 method for class 'lspls': plot(x, plottype = c("scores", "loadings"), ...) scoreplot.lspls(object, ...) loadingplot.lspls(object, ...)
x, object |
Object of class "lspls" . The model to be plotted. |
plottype |
character string. What type of plot to generate. |
... |
Further arguments, passed on to underlying plot functions. |
The plot
method simply calls scoreplot.lspls
or
loadingplot.lspls
depending on the plottype
argument.
scoreplot.lspls
gives a series of score plots, one for each PLS
model. The user is asked to press Return between each plot.
loadingplot.lspls
shows a series of loading plots, one for each
PLS model. All plots are shown in the same plot window.
The functions return whatever the (last) underlying plot function returns.
Bjørn-Helge Mevik
lspls
, scoreplot
,
loadingplot
, plot.lsplsCv
##FIXME