coef.plsRmodel: coef method for plsR models

Description Usage Arguments Value Author(s) See Also Examples

Description

This function provides a coef method for the class "plsRmodel"

Usage

1
2
## S3 method for class 'plsRmodel'
coef(object,type=c("scaled","original"), ...)

Arguments

object

an object of the class "plsRmodel"

type

if scaled, the coefficients of the predictors are given for the scaled predictors, if original the coefficients are to be used with the predictors on their original scale.

...

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)

Frederic Bertrand
[email protected]
http://www-irma.u-strasbg.fr/~fbertran/

See Also

coef

Examples

1
2
3
4
5
6
7
8
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"))

fbertran/plsRglm documentation built on May 16, 2019, 9:16 a.m.