A Comprehensive Comparison and Overview of R Packages for Calculating Sample Entropy
Overview
Affiliations
Sample entropy is a powerful tool for analyzing the complexity and irregularity of physiology signals which may be associated with human health. Nevertheless, the sophistication of its calculation hinders its universal application. As of today, the R language provides multiple open-source packages for calculating sample entropy. All of which, however, are designed for different scenarios. Therefore, when searching for a proper package, the investigators would be confused on the parameter setting and selection of algorithms. To ease their selection, we have explored the functions of five existing R packages for calculating sample entropy and have compared their computing capability in several dimensions. We used four published datasets on respiratory and heart rate to study their input parameters, types of entropy, and program running time. In summary, and can provide the analysis of sample entropy with different embedding dimensions and similarity thresholds. is a good choice for calculating multiscale sample entropy of physiological signal because it not only shows sample entropy of all scales simultaneously but also provides various visualization plots. is the only package that can calculate multivariate multiscale entropies. In terms of computing time, , , and run significantly faster than the other two packages. Moreover, we identify the issues in package. This article provides guidelines for researchers to find a suitable R package for their analysis and applications using sample entropy.
RespirAnalyzer: an R package for analyzing data from continuous monitoring of respiratory signals.
Zhang T, Dong X, Wang D, Huang C, Zhang X Bioinform Adv. 2024; 4(1):vbae003.
PMID: 38269257 PMC: 10807906. DOI: 10.1093/bioadv/vbae003.
Dieguez E, Nieto-Ruiz A, Sepulveda-Valbuena N, Herrmann F, Agil A, De-Castellar R Nutrients. 2023; 15(4).
PMID: 36839210 PMC: 9965004. DOI: 10.3390/nu15040852.
Thiry P, Nocent O, Buisseret F, Bertucci W, Thevenon A, Simoneau-Buessinger E Entropy (Basel). 2022; 24(4).
PMID: 35455098 PMC: 9032546. DOI: 10.3390/e24040437.
Sreejyothi S, Renjini A, Raj V, Swapna M, Sankararaman S J Biol Phys. 2021; 47(2):103-115.
PMID: 33905049 PMC: 8076880. DOI: 10.1007/s10867-021-09567-8.
Time series and fractal analyses of wheezing: a novel approach.
Swapna M, Renjini A, Raj V, Sreejyothi S, Sankararaman S Phys Eng Sci Med. 2020; 43(4):1339-1347.
PMID: 33057901 PMC: 7556586. DOI: 10.1007/s13246-020-00937-5.