Heart Rate Variability Analysis of ECG Data
Overview
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
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'- 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
Documentation
- 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%
- RHRV-quickstart HTML
- RHRVEasy HTML
Downloads
Dependencies
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.
Code & Tests
Datasets
People & History
Maintainer since 2.5.1 (2011), previously A. Mendez (2.1 to 2.5)
Show 7 peopleHide 7 people
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 5.0.0Latest
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 4.2.72022-10-31 · diff ↗
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 4.2.62020-12-14 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 4.2.52019-10-30 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 4.2.42019-03-19 · diff ↗
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- 4.2.32017-02-09 · diff ↗
Show 24 earlier eventsHide 24 earlier events
- 4.2.22016-11-15 · diff ↗
- 4.2.02016-11-12 · diff ↗ ·
added 15 exports
BuildTakens, LoadBeatAmbit, LoadBeatVector, PlotSinglePowerBand, CalculatePSD, PlotPSD, CalculateEnergyInPSDBands, getNormSpectralUnits, OverplotEpisodes, ExtractTimeSegment, Window, EstimatePSDSlope, ListEpisodes, RemoveEpisodes, ModifyEpisodes - RR 3.3.0 released · 2016-05-03
- RR 3.2.0 released · 2015-04-16
- RR 3.1.0 released · 2014-04-10
- 4.02014-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 - RR 3.0.0 released · 2013-04-03
- 3.0.32012-10-24 · diff ↗
- 3.0.02012-10-15 · diff ↗
- 2.62012-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 - RR 2.15.0 released · 2012-03-30
- RR 2.14.0 released · 2011-10-31
- 2.5.12011-06-15 · diff ↗
- RR 2.13.0 released · 2011-04-13
- RR 2.12.0 released · 2010-10-15
- 2.52010-07-30 · diff ↗
- 2.42010-07-07 · diff ↗
- RR 2.11.0 released · 2010-04-22
- RR 2.10.0 released · 2009-10-26
- 2.12009-08-25 · diff ↗
- 1.6.22009-05-04 · diff ↗
- RR 2.9.0 released · 2009-04-17
- 1.02008-10-28
- RR 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")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.
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.