norm {minet}R Documentation

Data Normalization

Description

Normalizes data x using the following code : (x-min(x))/(max(x-min(x))).

Usage

norm(x)

Arguments

x the data to be normalized.

Value

norm returns the argument x with normalized values (i.e. values ranging from 0 to 1)

Examples

data <- runif(100,-10,10)
ndata <- norm(data)

[Package minet version 1.1.3 Index]