standardize: Function to scale covariates.

Description Usage Arguments Details Value Author(s)

View source: R/standardize.R

Description

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

Usage

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.

Value

Covars

A standardized version of the input matrix of covariates.

Author(s)

Nyamundanda Gift, Isobel Claire Gormley and Lorraine Brennan


MetabolAnalyze documentation built on Aug. 31, 2019, 5:05 p.m.