Learn R Programming

AnalyzeFMRI (version 1.1-25)

reduction: reduction

Description

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

Usage

reduction(X, row.red = TRUE)

Value

Xred

the reduced matrix

Arguments

X

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

row.red

Logical. Reduces the columns or the rows

See Also

centering

Examples

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

Run the code above in your browser using DataLab