R/main.R
x2z.Rd
Convert x to a z-score
x2z(x, mu = mean(x, na.rm = T), sigma = stats::sd(x, na.rm = T))
a numeric vector
mean
standard deviation