plot.lspls: Plots of LS-PLS Models

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/plots.R

Description

Plot method for "lspls" objects.

Usage

1
2
3
4
5
6
## S3 method for class 'lspls'
plot(x, plottype = c("scores", "loadings"), ...)
## S3 method for class 'lspls'
scoreplot(object, ...)
## S3 method for class 'lspls'
loadingplot(object, ...)

Arguments

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.

Details

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.

Value

The functions return whatever the (last) underlying plot function returns.

Author(s)

Bjørn-Helge Mevik

See Also

lspls, scoreplot, loadingplot, plot.lsplsCv

Examples

1
##FIXME

lspls documentation built on May 2, 2019, 12:19 p.m.