Learn R Programming

qtkit (version 1.1.1)

calc_orf: Calculate Observed Relative Frequency

Description

Computes the observed relative frequency (ORF) for each term in a term-document matrix. ORF is the relative frequency expressed as a percentage (RF * 100).

Usage

calc_orf(tdm)

Value

A numeric vector of observed relative frequencies (as percentages) for each term

Arguments

tdm

A term-document matrix