coef: Coefficients method for (O)PLS models

Description Usage Arguments Value Author(s) Examples

Description

Coefficients of the (O)PLS(-DA) regression model

Usage

1
2
## S4 method for signature 'opls'
coef(object, ...)

Arguments

object

An S4 object of class opls, created by opls function.

...

Currently not used.

Value

Numeric matrix of coefficients (number of rows equals the number of variables, and the number of columns equals the number of responses)

Author(s)

Etienne Thevenot, etienne.thevenot@cea.fr

Examples

1
2
3
4
5
6
7
8
9
data(sacurine)
attach(sacurine)

sacurine.plsda <- opls(dataMatrix,
                       sampleMetadata[, "gender"])

head(coef(sacurine.plsda))

detach(sacurine)


Search within the ropls package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.