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 Dec. 23, 2025, 9:07 a.m.