standardize_data_matrix: Standardizes the columns of a data matrix.

View source: R/shared.R

standardize_data_matrixR Documentation

Standardizes the columns of a data matrix.

Description

Standardizes the columns of a data matrix.

Usage

standardize_data_matrix(X)

Arguments

X

The n x p design matrix

Value

The n x p design matrix with columns standardized

Author(s)

Adam Kapelner

Examples

## Not run: 
X = matrix(rnorm(12), nrow = 6)
Xstd = standardize_data_matrix(X)
colMeans(Xstd)

## End(Not run)

GreedyExperimentalDesign documentation built on Jan. 9, 2026, 5:07 p.m.