Learn R Programming

NlinTS (version 1.4.5)

entropy_cont: Continuous entropy

Description

Continuous entropy

Usage

entropy_cont(V, k = 3, log = "loge")

Arguments

V

Interger vector.

k

Integer argument, the number of neighbors.

log

String argument in the set ("log2", "loge","log10"), which indicates the log function to use. The loge is used by default.

Details

Computes the continuous entropy of a numerical vector using the Kozachenko approximation.

References

kraskov2004estimatingNlinTS

Examples

Run this code
# NOT RUN {
library (timeSeries)
library (NlinTS)
#load data
data = LPP2005REC
print (entropy_cont (data[,1], 3))
# }

Run the code above in your browser using DataLab