defl.select: deflation function

Description Usage Arguments Value

View source: R/defl.select.R

Description

The function defl.select() computes residual matrices X_{1,h+1}, …, X_{J,h+1}. These residual matrices are determined according to the following formula: X_{j,h+1} = X_{jh} - y_{jh} p_{jh}^t.

Usage

1
defl.select(yy, rr, nncomp, nn, nbloc)

Arguments

yy

A matrix that contains the SGCCA block components of each block: y_{1h}, …, y_{Jh}

rr

A list that contains the residual matrices X_{1h}, …, X_{Jh}

nncomp

A 1 \times J vector that contains the number of components to compute for each block.

nn

A 1 \times J vector that contains the numbers of already computed components for each block

nbloc

Number of blocks.

Value

resdefl

A list of J elements that contains X_{1,h+1}, …, X_{J,h+1}.

pdefl

A list of J elements that contains p_{1h}, …, p_{Jh}.


RGCCA documentation built on May 30, 2017, 7:22 a.m.