normalize: normalize

Description Usage Arguments Value Examples

View source: R/normalize.R

Description

normalize each column of a matrix into unit vector. if the column is filled with zeros, it is left unchanged, since calculating the l2 norm of that column and dividing the column by that norm would lead to NA (diviing by zero)

Usage

1
normalize(MATRIX)

Arguments

hi

ya

Value

yo

Examples

1
hi

soogs/sparks documentation built on May 17, 2019, 3:14 a.m.