normalization {fmf}R Documentation

The Max-Min Normalization

Description

This function normalizes the data using the max-min normalization

Usage

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


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


[Package fmf version 1.1.1 Index]