Description Usage Arguments Value Note Author(s) Examples
Compute the Shannon information entropy (H statistic)
1 | H.se(X)
|
X |
a vector of frequencies. |
A numeric value is returned up to -log2(K) where K = the number of unique data values $>0$.
See qualvar package for other indicies of qualitative variation. H.se produces same output as qualvar(X)*log2(K).
Nathaniel Mercaldo
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.