| entropy_disc | R Documentation |
Discrete Entropy
entropy_disc(V, log = "log2")
V |
Integer vector. |
log |
A string specifying the logarithm base for entropy calculation: "log2" (default), "loge", or "log10". |
Computes the Shanon entropy of an integer vector.
library (NlinTS)
print (entropy_disc (c(3,2,4,4,3)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.