standardize function

Function to scale covariates.

Function to scale covariates.

A function to scale covariates so that they lie in [0,1] for reasons of stability and convergence of the EM algorithm. 1.1

standardize(Covars)

Arguments

  • Covars: An N x L matrix containing the L covariates of each of N observations.

Details

A function to scale covariates so that they lie in [0,1] for reasons of stability and convergence of the EM algorithm. Care must be taken with categorical covariates: see ppcca.metabol for further information.

Returns

  • Covars: A standardized version of the input matrix of covariates.

Author(s)

Nyamundanda Gift, Isobel Claire Gormley and Lorraine Brennan

  • Maintainer: Claire Gormley
  • License: GPL-2
  • Last published: 2019-08-31

Useful links