Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

coef

Coefficients method for (O)PLS models


Description

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

Usage

## 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

data(sacurine)
attach(sacurine)

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

head(coef(sacurine.plsda))

detach(sacurine)

ropls

PCA, PLS(-DA) and OPLS(-DA) for multivariate analysis and feature selection of omics data

v1.22.0
CeCILL
Authors
Etienne A. Thevenot <etienne.thevenot@cea.fr>
Initial release
2020-03-05

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.