normalize_lengths: Matrix normalization.

View source: R/matrixFunctions.R

normalize_lengthsR Documentation

Matrix normalization.

Description

Normalize a matrix so that all rows are of unit length.

Usage

normalize_lengths(matrix)

Arguments

matrix

A matrix or VectorSpaceModel object

Value

An object of the same class as matrix


bmschmidt/wordVectors documentation built on June 2, 2022, 3:53 p.m.