standardize {MetabolAnalyze} | R Documentation |
Function to scale covariates.
Description
A function to scale covariates so that they lie in [0,1] for reasons of stability and convergence of the EM algorithm.
Usage
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.
Value
Covars |
A standardized version of the input matrix of covariates. |
Author(s)
Nyamundanda Gift, Isobel Claire Gormley and Lorraine Brennan
[Package MetabolAnalyze version 1.3.1 Index]