coef.plsRmodel {plsRglm} | R Documentation |
coef method for plsR models
Description
This function provides a coef method for the class "plsRmodel"
Usage
## S3 method for class 'plsRmodel'
coef(object, type = c("scaled", "original"), ...)
Arguments
object |
an object of the class |
type |
if |
... |
not used |
Value
An object of class coef.plsRmodel
.
CoeffC |
Coefficients of the components. |
Std.Coeffs |
Coefficients of the scaled predictors. |
Coeffs |
Coefficients of the untransformed predictors (on their original scale). |
Author(s)
Frédéric Bertrand
frederic.bertrand@utt.fr
https://fbertran.github.io/homepage/
See Also
Examples
data(Cornell)
XCornell<-Cornell[,1:7]
yCornell<-Cornell[,8]
modpls <- plsRglm(yCornell,XCornell,3,modele="pls")
class(modpls)
coef(modpls)
coef(modpls,type="scaled")
rm(list=c("XCornell","yCornell","modpls"))
[Package plsRglm version 1.5.1 Index]