entropy: Compute entropy (base e) from a vector of probabilities

Description Usage Arguments Value Author(s)

View source: R/mg14.R

Description

Given p, the entropy is computed as -sum(log(p^p)).

Usage

1

Arguments

p

Vector of probabilities

Value

numeric

Author(s)

mg14


mg14/mg14 documentation built on Aug. 18, 2019, 3:30 a.m.