View source: R/coef.plsRglmmodel.R
coef.plsRglmmodel | R Documentation |
This function provides a coef method for the class "plsRglmmodel"
## S3 method for class 'plsRglmmodel'
coef(object, type = c("scaled", "original"), ...)
object |
an object of the class |
type |
if |
... |
not used |
An object of class coef.plsRglmmodel
.
CoeffC |
Coefficients of the components. |
Std.Coeffs |
Coefficients of the scaled predictors in the regression function. |
Coeffs |
Coefficients of the untransformed predictors (on their original scale). |
Frédéric Bertrand
frederic.bertrand@utt.fr
https://fbertran.github.io/homepage/
coef
data(Cornell)
XCornell<-Cornell[,1:7]
yCornell<-Cornell[,8]
modpls <- plsRglm(yCornell,XCornell,3,modele="pls-glm-family",family=gaussian())
class(modpls)
coef(modpls)
coef(modpls,type="scaled")
rm(list=c("XCornell","yCornell","modpls"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.