calc_rf {qtkit}R Documentation

Dispersion and frequency functions These functions are for internal use only.

Description

To be used with the calc_type_metrics function. Includes dispersion measures: calc_df() Document Frequency 'DF', calc_idf() Inverse Document Frequency 'IDF', and calc_dp() Gries' Deviation of Proportions 'DP' functions. Frequency measures include: calc_rf() and calc_orf(). Takes a term-document matrix (TDM) as input and returns the respective dispersion metrics for each type in the TDM.

Usage

calc_rf(tdm)

[Package qtkit version 1.0.0 Index]