Shannon Entropy
Arguments
- x
A non-negative numeric vector.
- normalized
Logical. Argument specifying whether or not a normalized value is required. Must be either
TRUE
orFALSE
. The default isTRUE
.- na.rm
A logical vector that indicates whether
NA
values should be excluded or not. Must be eitherTRUE
orFALSE
. The default isTRUE
. If set toFALSE
the computation yieldsNA
if vector containsNA
values.
References
Shannon, C. E. (1948). "A Mathematical Theory of Communication", The Bell System Technical Journal (Nokia Bell Labs).
See also
Other Concentration and inequality measures:
concstats_all_inequ()
,
concstats_gini()
,
concstats_grs()
,
concstats_inequ()
,
concstats_palma()
,
concstats_simpson()