get_entropy_word_scores: Get Entropy Word Scores

View source: R/entropy.R

get_entropy_word_scoresR Documentation

Get Entropy Word Scores

Description

Calculates the generalized Tsallis entropy scores.

Usage

get_entropy_word_scores(score, base = 2L, alpha = 1)

Arguments

score

The relative frequency.

base

The base for the logarithm when computing entropy scores.

alpha

The parameter for the generalized Tsallis entropy. Setting 'alpha = 1' recovers the Shannon entropy.

Value

The entropy score.


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