colCenter: Center matrix columns

View source: R/utils_mat.R

colCenterR Documentation

Center matrix columns

Description

Efficiently center columns of a matrix. (Faster than base::scale.)

Usage

colCenter(X)

Arguments

X

The data matrix. Its columns will be centered.

Value

The centered data


fMRItools documentation built on April 12, 2025, 1:32 a.m.