powered by
Title: Z-score standardization or normalization function.
norm_z(x)
A standardized value (Z = N (0,1)) when applied to a single value or a standardized attribute with values (Z = N (0,1)).
Attribute value(s).
Tingwei Adeck
https://www.statology.org/how-to-normalize-data-in-r/
test_df <- as.data.frame(c(seq(40))) colnames(test_df) <- "test" test_df_norm <- lapply(test_df[1:ncol(test_df)], norm_z)
Run the code above in your browser using DataLab