IDEAS home Printed from https://ideas.repec.org/a/plo/pone00/0309055.html
   My bibliography  Save this article

RHRVEasy: Heart rate variability made easy

Author

Listed:
  • Constantino A García
  • Sofía Bardají
  • Pablo Pérez-Tirador
  • Abraham Otero

Abstract

Heart Rate Variability (HRV) analysis aims to characterize the physiological state affecting heart rate, and identify potential markers of underlying pathologies. This typically involves calculating various HRV indices for each recording of two or more populations. Then, statistical tests are used to find differences. The normality of the indices, the number of groups being compared, and the correction of the significance level should be considered in this step. Especially for large studies, this process is tedious and error-prone. This paper presents RHRVEasy, an R open-source package that automates all the steps of HRV analysis. RHRVEasy takes as input a list of folders, each containing all the recordings of the same population. The package loads and preprocesses heart rate data, and computes up to 31 HRV time, frequency, and non-linear indices. Notably, it automates the computation of non-linear indices, which typically demands manual intervention. It then conducts hypothesis tests to find differences between the populations, adjusting significance levels if necessary. It also performs a post-hoc analysis to identify the differing groups if there are more than two populations. RHRVEasy was validated using a database of healthy subjects, and another of congestive heart failure patients. Significant differences in many HRV indices are expected between these groups. Two additional groups were constructed by random sampling of the original databases. Each of these groups should present no statistically significant differences with the group from which it was sampled, and it should present differences with the other two groups. All tests produced the expected results, demonstrating the software’s capability in simplifying HRV analysis. Code is available on https://github.com/constantino-garcia/RHRVEasy.

Suggested Citation

  • Constantino A García & Sofía Bardají & Pablo Pérez-Tirador & Abraham Otero, 2024. "RHRVEasy: Heart rate variability made easy," PLOS ONE, Public Library of Science, vol. 19(11), pages 1-13, November.
  • Handle: RePEc:plo:pone00:0309055
    DOI: 10.1371/journal.pone.0309055
    as

    Download full text from publisher

    File URL: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0309055
    Download Restriction: no

    File URL: https://journals.plos.org/plosone/article/file?id=10.1371/journal.pone.0309055&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pone.0309055?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Alexis Dinno, 2015. "Nonparametric pairwise multiple comparisons in independent groups using Dunn's test," Stata Journal, StataCorp LLC, vol. 15(1), pages 292-300, March.
    2. Leopoldo Garavaglia & Damián Gulich & Magdalena M Defeo & Julieta Thomas Mailland & Isabel M Irurzun, 2021. "The effect of age on the heart rate variability of healthy subjects," PLOS ONE, Public Library of Science, vol. 16(10), pages 1-20, October.
    3. Giovanna Zimatore & Lavinia Falcioni & Maria Chiara Gallotta & Valerio Bonavolontà & Matteo Campanella & Marco De Spirito & Laura Guidetti & Carlo Baldari, 2021. "Recurrence quantification analysis of heart rate variability to detect both ventilatory thresholds," PLOS ONE, Public Library of Science, vol. 16(10), pages 1-15, October.
    4. Mark J Panaggio & Daniel M Abrams & Fan Yang & Tanvi Banerjee & Nirmish R Shah, 2021. "Can subjective pain be inferred from objective physiological data? Evidence from patients with sickle cell disease," PLOS Computational Biology, Public Library of Science, vol. 17(3), pages 1-20, March.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Zofia Grodek-Szostak & Marcin Suder & Aneta Piechaczek & Luis Ochoa Siguencia, 2021. "Assessment and Comparison of Digital Competences in Education for Selected European Countries," European Research Studies Journal, European Research Studies Journal, vol. 0(Special 1), pages 348-361.
    2. Manevska-Tasevska, Gordana & Hansson, Helena & Asmild, Mette & Surry, Yves, 2018. "Assessing the regional efficiency of Swedish agriculture under the CAP ‒ a multidirectional efficiency approach," 162nd Seminar, April 26-27, 2018, Budapest, Hungary 271971, European Association of Agricultural Economists.
    3. Chen, Ying & Lane, Tom & McDonald, Stuart, 2025. "Endogenous network formation in local public goods: An experimental analysis," Games and Economic Behavior, Elsevier, vol. 150(C), pages 198-214.
    4. Andreas Aditya Hermawan & Amin Talei & Janet Yip Cheng Leong & Mayuran Jayatharan & Hui Weng Goh & Sina Alaghmand, 2019. "Performance Assessment of a Laboratory Scale Prototype Biofiltration System in Tropical Region," Sustainability, MDPI, vol. 11(7), pages 1-16, April.
    5. Dosi, Giovanni & Virgillito, Maria Enrica & Yu, Xiaodan, 2020. "The wage-productivity nexus in the world factory economy," World Development, Elsevier, vol. 129(C).
    6. Baohua Wei & Ziqi Cui & Qilin Wu & Sitong Guo & Wenjing Li & Xinyue Wang & Waishan Qiu, 2025. "Investigating the spatiotemporally heterogeneous effects of macro and micro built environment on sexual violence against women: A case study of Mumbai," Palgrave Communications, Palgrave Macmillan, vol. 12(1), pages 1-17, December.
    7. Cango, Pedro & Ramos-Martín, Jesús & Falconí, Fander, 2024. "Toward food sovereignty and self-sufficiency in Latin America and the Caribbean: opportunities for agricultural complementarity," Revista de Economia e Sociologia Rural (RESR), Sociedade Brasileira de Economia e Sociologia Rural, vol. 61(01), January.
    8. Sisi Que & Yu Huang & Kwame Awuah-Offei & Liang Wang & Songlin Liu, 2023. "Discrete Choice Experiment Consideration: A Framework for Mining Community Consultation with Case Studies," Sustainability, MDPI, vol. 15(17), pages 1-17, August.
    9. Manevska-Tasevska, Gordana & Hansson, Helena & Asmild, Mette & Surry, Yves, 2021. "Exploring the regional efficiency of the Swedish agricultural sector during the CAP reforms ‒ multi-directional efficiency analysis approach," Land Use Policy, Elsevier, vol. 100(C).
    10. Joanna F. Dipnall & Belinda J. Gabbe & Warwick J. Teague & Ben Beck, 2020. "Identifying Homogeneous Patterns of Injury in Paediatric Trauma Patients to Improve Risk-Adjusted Models of Mortality and Functional Outcomes," IJERPH, MDPI, vol. 17(3), pages 1-20, January.
    11. Annika Johanna Thies & Felicitas Schneider & Josef Efken, 2021. "The Meat We Do Not Eat. A Survey of Meat Waste in German Hospitality and Food Service Businesses," Sustainability, MDPI, vol. 13(9), pages 1-20, April.
    12. Rim Lassoued & Janet Music & Sylvain Charlebois & Stuart J. Smyth, 2023. "Canadian Consumers’ Perceptions of Sustainability of Food Innovations," Sustainability, MDPI, vol. 15(8), pages 1-22, April.
    13. Stephan S. Marette & Anne-Célia Disdier & John C Beghin, 2020. "A Comparison of EU and US consumers' willingness to pay for gene-edited food: Evidence from apples," PSE Working Papers halshs-02872222, HAL.
    14. Ratko Peric & Zoran Nikolovski & Marco Meucci & Philippe Tadger & Carlo Ferri Marini & Francisco José Amaro-Gahete, 2022. "A Systematic Review and Meta-Analysis on the Association and Differences between Aerobic Threshold and Point of Optimal Fat Oxidation," IJERPH, MDPI, vol. 19(11), pages 1-19, May.
    15. Tashara M. Leak & Felicia Setiono & Navika Gangrade & Erika Mudrak, 2019. "Youth Willingness to Purchase Whole Grain Snack Packs from New York City Corner Stores Participating in a Healthy Retail Program," IJERPH, MDPI, vol. 16(18), pages 1-12, September.
    16. repec:ers:journl:v:xxiv:y:2021:i:special1:p:348-361 is not listed on IDEAS
    17. Maho Nakagawa & Mathieu Lefebvre & Anne Stenger, 2022. "Long-lasting effects of incentives and social preference: A public goods experiment," Post-Print hal-03777681, HAL.
    18. Lukas Gerasimavicius & Benjamin J. Livesey & Joseph A. Marsh, 2022. "Loss-of-function, gain-of-function and dominant-negative mutations have profoundly different effects on protein structure," Nature Communications, Nature, vol. 13(1), pages 1-15, December.
    19. Dorceta E. Taylor & Katherine Allison & Tevin Hamilton & Ashley Bell, 2023. "Race, Socioeconomic Status, and Food Access in Two Predominantly White Cities: The Case of Lansing, East Lansing, and Surrounding Townships in Michigan," Sustainability, MDPI, vol. 15(20), pages 1-49, October.
    20. Emanuel A. Azcona & Byoung-Woo Kim & Nicole L. Vike & Sumra Bari & Shamal Lalvani & Leandros Stefanopoulos & Sean Woodward & Martin Block & Aggelos K. Katsaggelos & Hans C. Breiter, 2022. "Discrete, recurrent, and scalable patterns in human judgement underlie affective picture ratings," Papers 2203.06448, arXiv.org.
    21. Maria Celeste Gomez & Maria Enrica Virgillito, 2022. "Wages and productivity in Argentinian manufacturing. A structuralist and distributional firm-level analysis," LEM Papers Series 2022/37, Laboratory of Economics and Management (LEM), Sant'Anna School of Advanced Studies, Pisa, Italy.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:plo:pone00:0309055. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: plosone (email available below). General contact details of provider: https://journals.plos.org/plosone/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.