Learn R Programming

natural (version 0.9.0)

standardize: Standardize the n -by- p design matrix X to have column means zero and ||X_j||_2^2 = n for all j

Description

Standardize the n -by- p design matrix X to have column means zero and ||X_j||_2^2 = n for all j

Usage

standardize(x, center = TRUE)

Arguments

x

design matrix

center

should we set column means equal to zero