Learn R Programming

distr6 (version 1.5.2)

entropy: Distribution Entropy

Description

(Information) Entropy of a distribution

Usage

entropy(object, base = 2, ...)

Arguments

object

Distribution.

base

base of the entropy logarithm, default = 2 (Shannon entropy)

...

Passed to $genExp.

Value

Entropy with given base as a numeric.