standardize function

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

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

standardize(x, center = TRUE)

Arguments

  • x: design matrix
  • center: should we set column means equal to zero
  • Maintainer: Guo Yu
  • License: GPL-3
  • Last published: 2018-01-16