whitener: The function for perform whitening.

View source: R/SICAmain.R

whitenerR Documentation

The function for perform whitening.

Description

The function for perform whitening.

Usage

whitener(X, n.comp = ncol(X), center.row = FALSE, use_irlba = TRUE)

Arguments

X

The data matrix with dimension P x T.

n.comp

The number of components.

center.row

Whether to center the row of data. Default is FALSE.

use_irlba

Whether to use the irlba method to perform fast truncated singular value decomposition in whitening step, helpful for memorying intermediate dataset. Default is TRUE.

Value

A list including the whitener matrix, the whitened data matrix, and the mean of the input data.


SparseICA documentation built on April 12, 2025, 1:50 a.m.