Learn R Programming

vocaldia (version 0.8.4)

getEntropy: getEntropy: safely return the Shannon entropy of a distribution.

Description

Compute the entropy of a distribution.

Usage

getEntropy(distribution)

Value

a numeric value.

Arguments

distribution

a probability distribution.

Details

Compute the entropy of a distribution.