removeTwoNormCol: Remove two-norms column-wise from a matrix

View source: R/utils.R

removeTwoNormColR Documentation

Remove two-norms column-wise from a matrix

Description

Remove two-norms column-wise from a matrix

Usage

removeTwoNormCol(df)

Arguments

df

Matrix of loadings

Value

Matrix of loadings where the column-wise 2-norm is 1.

Examples

A = array(rnorm(108*4), c(108,4))
Anorm = removeTwoNormCol(A)

CMTFtoolbox documentation built on Aug. 23, 2025, 1:11 a.m.