Skip to contents

x -> (x - location(x))/dispersion(x) location is mean, dispersion is SD or MAD

Usage

standardize(x, use_mad = FALSE)