Description Usage Arguments Value Examples
Calculates the Shannon entropy of a categorical vector
1 |
x |
a categorical vector |
numeric
1 | shannon_entropy(c('A', 'A', 'B', 'C', 'A', 'C'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.