lspls (version 0.2-2)

plot.lspls: Plots of LS-PLS Models

Description

Plot method for "lspls" objects.

Usage

# S3 method for lspls
plot(x, plottype = c("scores", "loadings"), …)
# S3 method for lspls
scoreplot(object, …)
# S3 method for 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.

Value

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

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.

See Also

lspls, scoreplot, loadingplot, plot.lsplsCv

Examples

Run this code
# NOT RUN {
##FIXME
# }

Run the code above in your browser using DataLab