Learn R Programming

plsRglm (version 1.5.1)

plot.table.summary.cv.plsRglmmodel: Plot method for table of summary of cross validated plsRglm models

Description

This function provides a table method for the class "summary.cv.plsRglmmodel"

Usage

# S3 method for table.summary.cv.plsRglmmodel
plot(x, type = c("CVMC", "CVQ2Chi2", "CVPreChi2"), ...)

Value

NULL

Arguments

x

an object of the class "table.summary.cv.plsRglmmodel"

type

the type of cross validation criterion to plot.

...

further arguments to be passed to or from methods.

References

Nicolas Meyer, Myriam Maumy-Bertrand et Frédéric Bertrand (2010). Comparing the linear and the logistic PLS regression with qualitative predictors: application to allelotyping data. Journal de la Societe Francaise de Statistique, 151(2), pages 1-18. http://publications-sfds.math.cnrs.fr/index.php/J-SFdS/article/view/47

See Also

Examples

Run this code

data(Cornell)
bbb <- cv.plsRglm(Y~.,data=Cornell,nt=10,NK=1,
modele="pls-glm-family",family=gaussian(), verbose=FALSE)
plot(cvtable(summary(bbb,verbose=FALSE)),type="CVQ2Chi2")
rm(list=c("bbb"))

# \donttest{
data(Cornell)
plot(cvtable(summary(cv.plsRglm(Y~.,data=Cornell,nt=10,NK=100,
modele="pls-glm-family",family=gaussian(), verbose=FALSE),
verbose=FALSE)),type="CVQ2Chi2")
# }

Run the code above in your browser using DataLab