normalize: Matrix or vector normalization

Description Usage Arguments Value

Description

Normalizes a vector o a matrix in the form of x/max(x). Is is a matrix, a column-normalization is performed, which is equivalent to apply(x,2,function(x) x/max(x)).

Usage

1

Arguments

x

a vector or a matrix to be normalized

Value

returns the normalized vector o matrix.


osd documentation built on May 2, 2019, 7 a.m.

Related to normalize in osd...