powered by
Discrete Entropy
entropy_disc(V, log = "log2")
Integer vector.
String argument in the set ("log2", "loge","log10"), which indicates the log function to use. The log2 is used by default.
Computes the Shanon entropy of an integer vector.
# NOT RUN { library (NlinTS) print (entropy_disc (c(3,2,4,4,3))) # }
Run the code above in your browser using DataLab