plotPLScalibration: Visualize PLS modeling results.

Description Usage Arguments Value Author(s) Examples

View source: R/plotPLScalibration.R

Description

This function is a wrapper to the plot methods in the pls R package. It takes an object of class PLScalibration and produces diagnostic plots.

Usage

1
2
plotPLScalibration(x, pch = 21, bg = "gray", ncomp = NULL,
  plottype = "prediction", ...)

Arguments

x

An object of class PLScalibration containing the model.

pch

see par.

bg

see par.

ncomp

The number of latent vectors to use. If NULL, the default is to use the optimal number of determined during the optimization process.

plottype

One of:
"prediction" - Predicted versus observed.
"validation" - RMSEP versus rank.
"coefficients" - Coefficients.
"scores" - Biplot of scores.
"loadings" - Loadings.

...

Additional args.

Value

A plot of model results.

Author(s)

Daniel M Griffith

Examples

1
2
3
4
5
## Not run: 
data(N_cal_shootout)
plot(N_cal_shootout)

## End(Not run)

griffithdan/plantspec documentation built on May 17, 2019, 8:37 a.m.