plot.R2s | R Documentation |
Plots for the cross-validated R2 (CVR2), explained variance in the predictor variables (R2X), and the reponse (R2Y).
## S3 method for class 'R2s' plot(x, ...)
x |
An |
... |
additional arguments. Currently ignored. |
plot.R2s
is used to generates the graph of the cross-validated R2 (CVR2), explained variance in the predictor variables (R2X), and the reponse (R2Y) for PLS models.
The output of plot.R2s
is a graph of the stated explained variance summary.
Thanh Tran (thanh.tran@mvdalab.com)
data(Penta) mod1 <- plsFit(log.RAI ~., scale = TRUE, data = Penta[, -1], ncomp = 2, validation = "loo") plot(R2s(mod1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.