powered by
Title: A log transformation function.
log_transformation(x)
A log-transformed value when applied to a single value or an attribute with log-transformed values.
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)], log_transformation)
Run the code above in your browser using DataLab