plsgmd: Partial least squares with the generalized matrix...

Description Usage Arguments Value

View source: R/plsgmd.R

Description

Partial least squares with the generalized matrix decomposition

Usage

1
plsgmd(X, Y, H = diag(nrow(X)), Q1 = diag(ncol(X)), Q2 = diag(ncol(Y)), k = 2)

Arguments

X

The n by p data matrix of predictors

Y

The n by q matrix of outcomes

H

An n by n sample-wise similarity matrix.

Q1

A p by p similarity matrix of the features in X.

Q2

A q by q similarity matrix corresponding to columns in Y.

k

Integer, the number of PLS latent variables to compute.

Value

Scores and loadings for X and Y.


pknight24/plsgmd documentation built on Feb. 8, 2021, 1:20 a.m.