normalize_to_min_0_max_1 {BallMapper}R Documentation

This function normalize each column (variable) of the input dataset so that the maximum is mapped to one, minimum to zero, and the intermediate values linearly to the appropriate points in the interval (0,1).

Description

This function normalize each column (variable) of the input dataset so that the maximum is mapped to one, minimum to zero, and the intermediate values linearly to the appropriate points in the interval (0,1).

Usage

normalize_to_min_0_max_1(points)

Arguments

points

a collection of input points in a form of a data frame.

Value

Normalized collection of points.

Examples

var <- seq(from=0,to=6.3,by=0.1)
points <- as.data.frame( cbind( sin(var),cos(var) ) )
normalized_points <- normalize_to_min_0_max_1 (points)

[Package BallMapper version 0.2.0 Index]