WARNING: **deprecated** function.
Calculates Approximate Entropy as indicated by Pincus

1 2 3 4 | ```
CalculateApEn(HRVData,
indexNonLinearAnalysis = length(HRVData$NonLinearAnalysis),
m = 2, tau = 1,
r = 0.2, N = 1000, verbose=NULL)
``` |

`HRVData` |
Data structure that stores the beats register and information related to it |

`indexNonLinearAnalysis` |
Reference to the data structure that will contain the non linear analysis |

`m` |
Value of the dimension of the expansion of data |

`tau` |
Delay of the expansion of data |

`r` |
Distance for calculating correlation |

`N` |
Number of points of the portion of signal to be analyzed |

`verbose` |
Deprecated argument maintained for compatibility, use SetVerbose() instead |

Returns HRVData, the structure that contains beat positions register and now associated heart rate instantaneous values also, including the value of the Approximate Entropy

This function is **deprecated**. We suggest the use of the
`CalculateSampleEntropy`

function instead, which is faster.

M. Lado, A. Mendez, D. Olivieri, L. Rodriguez, X. Vila

L. Rodriguez-Linares, A. Mendez, M. Lado, D. Olivieri, X. Vila, I. Gomez-Conde, "An open source tool for heart rate variability spectral analysis", Computer Methods and Programs in Biomedicine 103, 39-50, doi:10.1016/j.cmpb.2010.05.012 (2011) S. M. Pincus, "Approximate entropy as a measure of system complexity," Mathematics 88, 2297-2301 (1991)

`BuildTakensVector`

for expand data

`IntegralCorrelation`

for correlation calculations

`AvgIntegralCorrelation`

for averaging correlation calculations

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.