powered by
Title: A decimal scaling function (a machine learning tool).
decimal_scaling(x)
A decimal scaled value when applied to a single value or a decimal scaled attribute(s).
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)], decimal_scaling)
Run the code above in your browser using DataLab