make_frequency_df: The f(i,s) term in the Nb estimation equation requires...

View source: R/calculate_nb.r

make_frequency_dfR Documentation

The f(i,s) term in the Nb estimation equation requires frequency estimates.

Description

Thus, take the sum of each column and divide every value by it.

Usage

make_frequency_df(mtrx)

Arguments

mtrx

Matrix to transform.

Value

Matrix of the same size, containing frequencies.


abelew/stampr documentation built on April 14, 2022, 5:03 a.m.