Skip to content

Heart Rate Variability Analysis of ECG Data

1packages depend
12.7Kdownloads / year
–test coverage
0/13flavors OK

Overview

About

Allows users to import data files containing heartbeat positions in the most broadly used formats, to remove outliers or points with unacceptable physiological values present in the time series, to plot HRV data, and to perform time domain, frequency domain and nonlinear HRV analysis. See Garcia et al. (2017) DOI:10.1007/978-3-319-65355-6.

Install

Health

CRAN checks
13NOTE
Check messages
NOTEDESCRIPTION meta-informationr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64

r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64

Missing dependency on R >= 4.1.0 because package code uses the pipe
  |> or function shorthand \(...) syntax added in R 4.1.0.
  File(s) using such syntax:
    ‘RHRVEasy.R’ ‘easyStatsFunctions.R’

r-devel-windows-x86_64, r-oldrel-windows-x86_64, r-release-windows-x86_64

Missing dependency on R >= 4.1.0 because package code uses the pipe
  |> or function shorthand \(...) syntax added in R 4.1.0.
  File(s) using such syntax:
    'RHRVEasy.R' 'easyStatsFunctions.R'

CRAN check page ↗

Slowest check: 4.4 min · r-devel-windows-x86_64
Status changes
  • NOTE13 NOTE2026-09-08
  • ERROR12 NOTE, 1 ERROR2026-09-07
  • NOTE13 NOTE2026-06-09
  • ERROR12 NOTE, 1 ERROR2026-06-08
  • NOTE3 OK, 11 NOTE2026-03-10
Advisories

none known

Documentation

In release 5.0.0
READMENoVignettesYes · 2 · dynamicNEWSNoCitation fileNoWebsiteYes
Help pages
73includes a package overview page
Examples that run
0%20 never run
Exported functions with examples
29%
Documented parameters
94%
Return-value docs
83%
Help pages citing references
77%

Downloads

12.7K
CRAN downloads in the past year
Rank #4,068 · ~35/day · ~1.1K/mo
Daily download trend is not available in this view yet.
83830 days
2.2K90 days
12.7K1 year
Compare downloads with other packages →
Also on353 r2u6 autocran

Dependencies

Declared dependencies
16 external dependencies (excludes base and recommended)

Installing RHRV adds 93 packages (53 with compiled code, 74 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.

Depends (4)
LinkingTo (0)
none
Suggests (4)
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Imports 1
Depends, Imports or LinkingTo, most downloaded first

Datasets

People & History

People (7)
Author, Maintainer · added in 4.2.0
Author · added in 4.2.0
Author · added in 4.2.0
Author · added in 4.2.0
Author · added in 4.2.0
Author · added in 4.2.0
Contributor · added in 4.2.0

Maintainer since 2.5.1 (2011), previously A. Mendez (2.1 to 2.5)

Listed in earlier versions (7)
Show 7 peopleHide 7 people
M. Lado
no longer listed · 1.0 to 4.0
A. Mendez
no longer listed · 1.0 to 4.0
L. Rodriguez-Linares
no longer listed · 1.0 to 4.0
X. Vila
no longer listed · 1.0 to 4.0
D. Olivieri
no longer listed · 1.6.2 to 3.0.0
C.A. Garcia
no longer listed · 3.0.3 to 4.0
A. Otero
no longer listed · 3.0.3 to 4.0
Releases (18)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 5.0.0Latest
    record
    2024-09-30 · current release · diff ↗ ·
    added 3 exports
    RHRVEasy, RHRVEasyStats, SaveHRVIndices
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 4.2.7
    record
    2022-10-31 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 4.2.6
    record
    2020-12-14 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 4.2.5
    record
    2019-10-30 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 4.2.4
    record
    2019-03-19 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • 4.2.3
    record
    2017-02-09 · diff ↗
Show 24 earlier eventsHide 24 earlier events
  • 4.2.2
    record
    2016-11-15 · diff ↗
  • 4.2.0
    record
    2016-11-12 · diff ↗ ·
    added 15 exports
    BuildTakens, LoadBeatAmbit, LoadBeatVector, PlotSinglePowerBand, CalculatePSD, PlotPSD, CalculateEnergyInPSDBands, getNormSpectralUnits, OverplotEpisodes, ExtractTimeSegment, Window, EstimatePSDSlope, ListEpisodes, RemoveEpisodes, ModifyEpisodes
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • R
    R 3.1.0 released · 2014-04-10
  • 4.0
    record
    2014-01-19 · diff ↗ ·
    added 24 exports
    AnalyzePowerBandsByEpisodes, CalculateEmbeddingDim, CalculateTimeLag, CalculateCorrDim, EstimateCorrDim, PlotCorrDim, PoincarePlot, CalculateSampleEntropy, EstimateSampleEntropy, PlotSampleEntropy, CalculateMaxLyapunov, EstimateMaxLyapunov, PlotMaxLyapunov, CalculateDFA, EstimateDFA, PlotDFA, CalculateInfDim, EstimateInfDim, PlotInfDim, RQA, RecurrencePlot, NonLinearNoiseReduction, NonlinearityTests, SurrogateTest
  • R
    R 3.0.0 released · 2013-04-03
  • 3.0.3
    record
    2012-10-24 · diff ↗
  • 3.0.0
    record
    2012-10-15 · diff ↗
  • 2.6
    record
    2012-04-17 · diff ↗ ·
    added 38 exports
    AddEpisodes, AnalyzeHRbyEpisodes, AvgIntegralCorrelation, BuildNIHR, BuildTakensVector, CalculateApEn, CalculateFracDim, CalculatePowerBand, CalculateRfromCorrelation, CalculateSpectrogram, CreateFreqAnalysis, CreateHRVData, CreateNonLinearAnalysis, CreateTimeAnalysis, EditNIHR, FilterNIHR, GenerateEpisodes, IntegralCorrelation, InterpolateNIHR, LoadApneaWFDB, LoadBeatAscii, LoadBeatEDFPlus, LoadBeatPolar, LoadBeat, LoadBeatRR, LoadBeatSuunto, LoadBeatWFDB, LoadEpisodesAscii, LoadHeaderWFDB, PlotHR and 8 more
  • R
    R 2.15.0 released · 2012-03-30
  • R
    R 2.14.0 released · 2011-10-31
  • 2.5.1
    record
    2011-06-15 · diff ↗
  • R
    R 2.13.0 released · 2011-04-13
  • R
    R 2.12.0 released · 2010-10-15
  • 2.5
    record
    2010-07-30 · diff ↗
  • 2.4
    record
    2010-07-07 · diff ↗
  • R
    R 2.11.0 released · 2010-04-22
  • R
    R 2.10.0 released · 2009-10-26
  • 2.1
    record
    2009-08-25 · diff ↗
  • 1.6.2
    record
    2009-05-04 · diff ↗
  • R
    R 2.9.0 released · 2009-04-17
  • 1.0
    record
    2008-10-28
  • R
    R 2.8.0 released · 2008-10-20

Package metadata

First published
2008-10-28
Total releases
18 / 18 yrs
License
GPL-2 OSI
Copyright
Code for the wavelet transform is based on Brandon Whitcher's work. See file COPYRIGHT for details
Minimum R
≥ 3.0.0
Bundled data
269 KB / 2 files
Download size
773 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("RHRV")
Rodriguez-Linares, L., Garcia, C. A., Lado, M. J., Lassila, M., Mendez, A., Otero, A., & Vila, X. (2024). RHRV: Heart Rate Variability Analysis of ECG Data (Version 5.0.0) [Computer software]. https://doi.org/10.32614/CRAN.package.RHRV

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for RHRV version 5.0.0 [Data set]. HJJB, LLC. Data release v2026-10-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy