Skip to contents

From a vector of numbers, to each element it subtracts the mean and divide by the squared root of the standard deviation.

Usage

pareto_scale(x, na.rm = FALSE)

Arguments

x

a numeric vector.

na.rm

logical. Should missing value be stripped before the computation? (Same as for mean and sd)

Value

a numeric vector with the scaled values.