getEntropy {vocaldia}R Documentation

getEntropy: safely return the Shannon entropy of a distribution.

Description

Compute the entropy of a distribution.

Usage

getEntropy(distribution)

Arguments

distribution

a probability distribution.

Details

Compute the entropy of a distribution.

Value

a numeric value.


[Package vocaldia version 0.8.4 Index]