coef.plsdof {plsdof}R Documentation

Regression coefficients

Description

This function returns the regression coefficients of a plsdof-object.

Usage

## S3 method for class 'plsdof':
coef(object,...)

Arguments

object an object of class "plsdof" that is returned by the function linear.pls
... additional parameters

Details

The function returns the regression coefficients (without intercept) for the optimal number of components.

Value

regression coefficients.

Author(s)

Nicole Kraemer

References

Kraemer, N., Braun, M.L. (2007) "Kernelizing PLS, Degrees of Freedom, and Efficient Model Selection", Proceedings of the 24th International Conference on Machine Learning, Omni Press, 441 - 448

See Also

vcov.plsdof, linear.pls

Examples


n<-50 # number of observations
p<-5 # number of variables
X<-matrix(rnorm(n*p),ncol=p)
y<-rnorm(n)

pls.object<-linear.pls(X,y,m=5,model.selection="bic")
mycoef<-coef(pls.object)

[Package plsdof version 0.1-1 Index]