plotpredmvr {chemometrics}R Documentation

Plot predictions from repeated DCV

Description

Generate plot showing predicted values for Repeated Double Cross Validation

Usage

plotpredmvr(mvrdcvobj, optcomp, y, X, method = "simpls", ...)

Arguments

mvrdcvobj object from repeated double-CV, see mvr_dcv
optcomp optimal number of components
y data from response variable
X data with explanatory variables
method the multivariate regression method to be used, see mvr
... additional plot arguments

Details

After running repeated double-CV, this plot visualizes the predicted values.

Value

A plot is generated.

Author(s)

Peter Filzmoser <P.Filzmoser@tuwien.ac.at>

References

K. Varmuza and P. Filzmoser: Introduction to Multivariate Statistical Analysis in Chemometrics. CRC Press. To appear.

See Also

mvr

Examples

require(pls)
data(yarn)
res <- mvr_dcv(density~NIR,ncomp=10,data=yarn,method="simpls",repl=10)
plot3 <- plotpredmvr(res,opt=7,yarn$density,yarn$NIR,method="simpls")

[Package chemometrics version 0.4 Index]