Learn R Programming

distr6 (version 1.4.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)

Value

Entropy with given base as a numeric.