min_max_norm {tidyDenovix}R Documentation

Title: Min-Max normalization of attributes that require normalization

Description

Title: Min-Max normalization of attributes that require normalization

Usage

min_max_norm(x)

Arguments

x

A single value from an attribute passed in the function for normalization.

Value

A normalized value (value between 1 and 0)

Note

lapply is needed to apply the function across several columns in a data set.

Author(s)

Tingwei Adeck (Adapted from Statology)

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)], min_max_norm)


[Package tidyDenovix version 2.1.0 Index]