coef.MBPLS: Regression coefficients of MBPLS models

View source: R/coef.MBPLS.R

coef.MBPLSR Documentation

Regression coefficients of MBPLS models

Description

Computes regression coefficients from MBPLS.

Usage

## S3 method for class 'MBPLS'
coef(object, ncomp = object$call$ncomp, ...)

Arguments

object

An object resulting from MBPLS.

ncomp

The number of components to be considered in the model. By default, all components computed in MBPLS or MBWCov are considered.

...

further arguments passed to or from other methods.

Value

A matrix of regression coefficients where each row corresponds to a variable in X and each column corresponds to a variable in Y.

See Also

predict.MBPLS

Examples

data(ham)
X=ham$X
block=ham$block
Y=ham$Y
res.mbpls <- MBPLS(X, Y, block, name.block = names(block))
coef(res.mbpls)


MBAnalysis documentation built on Aug. 8, 2025, 7:26 p.m.