Skip to contents

Convert x to a z-score

Usage

x2z(x, mu = mean(x, na.rm = T), sigma = stats::sd(x, na.rm = T))

Arguments

x

a numeric vector

mu

mean

sigma

standard deviation