log_transformation {normfluodbf}R Documentation

Title: A log transformation function.

Description

Title: A log transformation function.

Usage

log_transformation(x)

Arguments

x

Attribute value(s).

Value

A log-transformed value when applied to a single value or an attribute with log-transformed values.

Note

The lapply function is required to apply this function across several attributes.

Author(s)

Tingwei Adeck

References

https://www.statology.org/how-to-normalize-data-in-r/

Examples

test_df <- as.data.frame(c(seq(40)))
colnames(test_df) <- "test"
test_df_norm <- lapply(test_df[1:ncol(test_df)], log_transformation)


[Package normfluodbf version 1.5.2 Index]