entropy: Calculate entropy from a probability distribution of a random...

Description Usage Arguments

Description

Calculate entropy from a probability distribution of a random variable.

Usage

1
entropy(prob_dist, base = exp(1))

Arguments

prob_dist

a vector corresponding to a random variable.

base

base for the logarithm used in the entropy calculation


robertness/bninfo documentation built on May 27, 2019, 10:32 a.m.