normalization: The Max-Min Normalization

Description Usage Arguments Author(s) Examples

View source: R/normalization.R

Description

This function normalizes the data using the max-min normalization

Usage

1
normalization(x, margin = 2)

Arguments

x

the dataset.

margin

data is normalized by row (margin = 1) or by column (margin = 2). The default is 2.

Author(s)

Wanwan Zheng

Examples

1
2
3
data(ozone)
scaled.data = normalization(ozone[,-1])
ozone.scale = data.frame(y = as.character(ozone[,1]), scaled.data[,-1])

fmf documentation built on Sept. 3, 2020, 9:07 a.m.

Related to normalization in fmf...