Learn R Programming

BallMapper (version 0.2.0)

normalize_to_average_0_stdev_1: This function normalize each column (variable) of the input dataset so that the the average of the normalized column is 0 and its standard deviation is 1.

Description

This function normalize each column (variable) of the input dataset so that the the average of the normalized column is 0 and its standard deviation is 1.

Usage

normalize_to_average_0_stdev_1(points)

Arguments

points,

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

Value

Nowmalized collectpion of points.

Examples

Run this code
# NOT RUN {
var <- seq(from=0,to=6.3,by=0.1)
points <- as.data.frame( cbind( sin(var),cos(var) ) )
normalized_points <- normalize_to_average_0_stdev_1 (points)
# }

Run the code above in your browser using DataLab