Learn R Programming

AnalyzeFMRI (version 1.1-24)

centering: centering

Description

This function center the data in the two dimensions, the first dimension being indicated by col.first argument

Usage

centering(X,col.first=TRUE)

Arguments

X

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

col.first

Logical. Center the columns or the rows first

Value

Xcentred

the double centered matrix

See Also

reduction

Examples

Run this code
# NOT RUN {
# TODO!!
# Xcentred <- centering(X.masked,col.first=TRUE)$Xcentred
# }

Run the code above in your browser using DataLab