shannon_counts_index | R Documentation |
Compute Shannon Index froma a table of counts
shannon_counts_index(x, base = exp(1))
x |
table or matrix of observations. If a matrix then, like a table, columns are variables and rows are records. |
base |
numeric, the base of the logarithm |
vector of Shannon index - one element for each record
NIST entry
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.