rowNorm: Normalize each row of the given matrix to be sum of 1

View source: R/util.r

rowNormR Documentation

Normalize each row of the given matrix to be sum of 1

Description

This function normalizes the given matrix in a row-wise manner so that the sum of every row is one

Usage

rowNorm(mat)

Arguments

mat

The input matrix

Value

The normalized matrix


quadbiolab/simspec documentation built on March 8, 2024, 11:59 p.m.