View source: R/print.coef.plsRglmmodel.R
print.coef.plsRglmmodel | R Documentation |
This function provides a print method for the class
"coef.plsRglmmodel"
## S3 method for class 'coef.plsRglmmodel'
print(x, ...)
x |
an object of the class |
... |
not used |
NULL
Frédéric Bertrand
frederic.bertrand@utt.fr
https://fbertran.github.io/homepage/
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
print
data(Cornell)
XCornell<-Cornell[,1:7]
yCornell<-Cornell[,8]
modplsglm <- plsRglm(yCornell,XCornell,3,modele="pls-glm-family",family=gaussian())
class(modplsglm)
print(coef(modplsglm))
rm(list=c("XCornell","yCornell","modplsglm"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.