get_relative_frequency: Get Relative Frequency

View source: R/entropy.R

get_relative_frequencyR Documentation

Get Relative Frequency

Description

Calculates the relative frequency (proportion) of each word in the data.frame.

Usage

get_relative_frequency(data)

Arguments

data

A data.frame containing words and their counts.

Value

A data.frame containing words and their relative frequencies.


pverspeelt/shifterator documentation built on Oct. 7, 2022, 3:37 a.m.