reduction: reduction

View source: R/niftiFMRI.R

reductionR Documentation

reduction

Description

This function reduces the data in the row or col dimension.

Usage

reduction(X, row.red = TRUE)

Arguments

X

a matrix of size tm x vm which contains the functionnal images

row.red

Logical. Reduces the columns or the rows

Value

Xred

the reduced matrix

See Also

centering

Examples

X <- matrix(rnorm(5 * 4), nrow = 5, ncol = 4)
Xred <- reduction(X, row.red = TRUE)$Xred

AnalyzeFMRI documentation built on Aug. 8, 2025, 7:16 p.m.