compute_shannon_entropy: Compute the shannon entropy of a discrete distribution,...

View source: R/utils.R

compute_shannon_entropyR Documentation

Compute the shannon entropy of a discrete distribution, normalised from 0 to 1 (equibalanced classes)

Description

Compute the shannon entropy of a discrete distribution, normalised from 0 to 1 (equibalanced classes)

Usage

compute_shannon_entropy(ratios)

Arguments

ratios

vector of the proportions of the mixture

Value

the entropy score

Author(s)

Bastien CHASSAGNOL


bastienchassagnol/RGMMBench documentation built on Oct. 26, 2023, 5:58 p.m.