L2Norm: L2 normalize the columns (or rows) of a given matrix

Description Usage Arguments Value

View source: R/generics.R

Description

L2 normalize the columns (or rows) of a given matrix

Usage

1
L2Norm(mat, MARGIN = 1)

Arguments

mat

Matrix to cosine normalize

MARGIN

Perform normalization over rows (1) or columns (2)

Value

returns l2-normalized matrix


jinzhuangdou/DCCA documentation built on June 29, 2020, 12:54 a.m.