prepro_sub function

Scale and normalize columns of a matrix.

Scale and normalize columns of a matrix.

This function is called by moss to scale and normalize (extended) matrices.

prepro_sub(X, scale.arg, norm.arg)

Arguments

  • X: An object of class 'matrix', 'FBM', or 'array'.
  • scale.arg: Should we scale columns? Logical.
  • norm.arg: Should we normalize columns? Logical.

Returns

A matrix with scaled and/or normalized columns.

Details

Ment for objects of class 'matrix', 'FBM', or 'array'.

  • Maintainer: Agustin Gonzalez-Reymundez
  • License: GPL-2
  • Last published: 2022-03-25