Plot predictions from repeated DCV
Generate plot showing predicted values for Repeated Double Cross Validation
plotpredmvr(mvrdcvobj, optcomp, y, X, method = "simpls", ...)
After running repeated double-CV, this plot visualizes the predicted values.
A plot is generated.
Peter Filzmoser <P.Filzmoser@tuwien.ac.at>
K. Varmuza and P. Filzmoser: Introduction to Multivariate Statistical Analysis in Chemometrics. CRC Press, Boca Raton, FL, 2009.
data(NIR) X <- NIR$xNIR[1:30,] # first 30 observations - for illustration y <- NIR$yGlcEtOH[1:30,1] # only variable Glucose NIR.Glc <- data.frame(X=X, y=y) res <- mvr_dcv(y~.,data=NIR.Glc,ncomp=10,method="simpls",repl=10) plot3 <- plotpredmvr(res,opt=7,y,X,method="simpls")
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.