A function to scale covariates so that they lie in [0,1] for reasons of stability and convergence of the EM algorithm.
standardize(Covars)
An N x L matrix containing the L covariates of each of N observations.
A standardized version of the input matrix of covariates.
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.