coef.MBPLS | R Documentation |
Computes regression coefficients from MBPLS
.
## S3 method for class 'MBPLS'
coef(object, ncomp = object$call$ncomp, ...)
object |
An object resulting from |
ncomp |
The number of components to be considered in the model. By default, all components computed in |
... |
further arguments passed to or from other methods. |
A matrix of regression coefficients where each row corresponds to a variable in X and each column corresponds to a variable in Y.
predict.MBPLS
data(ham)
X=ham$X
block=ham$block
Y=ham$Y
res.mbpls <- MBPLS(X, Y, block, name.block = names(block))
coef(res.mbpls)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.