Skip to contents

Standardize a vector to fixed mean and std

Usage

standardize(x, m = 0, s = 1)

Arguments

x

Numeric vector.

m

Mean.

s

Standard deviation.