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 A data.frame or matrix or vector containing the data to be normalized. In this package the norm method is used to normalize the network's weighted adjacency matrices.

Value

norm returns the data.frame 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.2.0 Index]