Skip to contents

Calculate Approximate Entropy (ApEn) of a time series

Usage

calculate_apen(x, m = 3, r = NULL)

Arguments

x

Numeric vector of the time series

m

Embedding dimension (sample size), default is 3

r

Tolerance (threshold), default is 3.5 * sd(x)

Value

Approximate Entropy value

References

Pincus, S. M. (1991). Approximate entropy as a measure of system complexity. Proceedings of the National Academy of Sciences, 88(6), 2297-2301.