Learn R Programming

frbs (version 3.2-0)

norm.data: The data normalization

Description

This function is to transform from real-valued data into normalized data.

Usage

norm.data(dt.ori, range.data, min.scale = 0, max.scale = 1)

Arguments

dt.ori

a matrix (\(n \times m\)) of the original data.

range.data

a matrix (\(2 \times n\)) containing the range of the data, where n is the number of variables, and first and second rows are the minimum and maximum value, respectively.

min.scale

the minimum value within normalization.

max.scale

the maximum value within normalization.

Value

the normalized data

See Also

denorm.data