Learn R Programming

brnn (version 0.3)

normalize: normalize

Description

Internal function for normalizing the data. This function makes a linear transformation of the inputs such that the values lie between -1 and 1.

Usage

normalize(x,base,spread)

Arguments

Value

A vector or matrix with the resulting normalized values.

Details

z=2*(x-base)/spread - 1