Package: RHRV 5.0.0

Leandro Rodriguez-Linares

RHRV: Heart Rate Variability Analysis of ECG Data

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>.

Authors:Leandro Rodriguez-Linares [aut, cre], Xose Vila [aut], Maria Jose Lado [aut], Arturo Mendez [aut], Abraham Otero [aut], Constantino Antonio Garcia [aut], Matti Lassila [ctb]

RHRV_5.0.0.tar.gz
RHRV_5.0.0.zip(r-4.7-x86_64)RHRV_5.0.0.zip(r-4.7-arm64)RHRV_5.0.0.zip(r-4.6-x86_64)RHRV_5.0.0.zip(r-4.6-arm64)RHRV_5.0.0.zip(r-4.5-x86_64)
RHRV_5.0.0.tgz(r-4.6-x86_64)RHRV_5.0.0.tgz(r-4.6-arm64)RHRV_5.0.0.tgz(r-4.5-x86_64)RHRV_5.0.0.tgz(r-4.5-arm64)
RHRV_5.0.0.tar.gz(r-4.7-arm64)RHRV_5.0.0.tar.gz(r-4.7-x86_64)RHRV_5.0.0.tar.gz(r-4.6-arm64)RHRV_5.0.0.tar.gz(r-4.6-x86_64)
RHRV_5.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
RHRV/json (API)

# Install 'RHRV' in R:
install.packages('RHRV', repos = c('https://r-forge.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://r-forge.r-project.org/projects/rhrv

Datasets:

On CRAN:

Conda:

6.26 score 1 packages 76 scripts 692 downloads 20 mentions 80 exports 99 dependencies

Last updated from:d1132513cd. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK185
linux-devel-x86_64OK216
source / vignettesOK314
linux-release-arm64OK208
linux-release-x86_64OK208
macos-release-arm64OK173
macos-release-x86_64OK375
macos-oldrel-arm64OK219
macos-oldrel-x86_64OK215
windows-devel-arm64OK236
windows-devel-x86_64OK163
windows-release-arm64OK270
windows-release-x86_64OK135
windows-oldrel-x86_64OK150
wasm-releaseOK144

Exports:AddEpisodesAnalyzeHRbyEpisodesAnalyzePowerBandsByEpisodesAvgIntegralCorrelationBuildNIHRBuildTakensBuildTakensVectorCalculateApEnCalculateCorrDimCalculateDFACalculateEmbeddingDimCalculateEnergyInPSDBandsCalculateFracDimCalculateInfDimCalculateMaxLyapunovCalculatePowerBandCalculatePSDCalculateRfromCorrelationCalculateSampleEntropyCalculateSpectrogramCalculateTimeLagCreateFreqAnalysisCreateHRVDataCreateNonLinearAnalysisCreateTimeAnalysisEditNIHREstimateCorrDimEstimateDFAEstimateInfDimEstimateMaxLyapunovEstimatePSDSlopeEstimateSampleEntropyExtractTimeSegmentFilterNIHRGenerateEpisodesgetNormSpectralUnitsIntegralCorrelationInterpolateNIHRListEpisodesLoadApneaWFDBLoadBeatLoadBeatAmbitLoadBeatAsciiLoadBeatEDFPlusLoadBeatPolarLoadBeatRRLoadBeatSuuntoLoadBeatVectorLoadBeatWFDBLoadEpisodesAsciiLoadHeaderWFDBModifyEpisodesNonlinearityTestsNonLinearNoiseReductionOverplotEpisodesPlotCorrDimPlotDFAPlotHRPlotInfDimPlotMaxLyapunovPlotNIHRPlotPowerBandPlotPSDPlotSampleEntropyPlotSinglePowerBandPlotSpectrogramPoincarePlotReadFromFileRecurrencePlotRemoveEpisodesRHRVEasyRHRVEasyStatsRQASaveHRVIndicesSetVerboseSplitHRbyEpisodesSplitPowerBandByEpisodesSurrogateTestWindowWriteToFile

Dependencies:askpassbackportsbase64encbootbroombslibBWStestcachemclicodetoolscpp11crosstalkcurldata.tabledigestdoParalleldplyrevaluatefarverfastmapfontawesomeforeachfsgenericsggplot2gluegmpgridExtragtablehighrhtmltoolshtmlwidgetshttrisobanditeratorsjquerylibjsonliteknitrkSampleslabelinglaterlatticelazyevallifecyclelombmagrittrMASSMatrixmemoisemimemultcompViewmultitapermvtnormnlmenonlinearTseriesopensslotelpillarpkgconfigplotlyplotrixPMCMRpluspracmapromisespurrrquadprogquantmodR6rappdirsRColorBrewerRcppRcppArmadillorlangrmarkdownRmpfrS7sassscalessegmentedstringistringrSuppDistssystibbletidyrtidyselecttinytextseriesTTRutf8vctrsviridisLitewaveslimwithrwritexlxfunxtsyamlzoo

Automating HRV analysis: RHRVEasy
0. Set up required to run this tutorial | 1. Time and frequency analysis | 2. Correction of the significance level | 3. Saving the indices to an Excel spreadsheet | 4. Comparing more than two experimental groups | 5. Overwriting default parameters | 6. Nonlinear analysis

Last update: 2024-05-16
Started: 2024-05-15

RHRV Quick Start Tutorial
Installation | A 15-minutes guide to RHRV | Preprocessing the Heart Rate series | Load heart beat positions | Calculating HR and filtering | Interpolating | Plotting | Analysing the Heart Rate series | Time-domain analysis techniques\label | Frequency-domain analysis techniques | Fourier | Wavelets | Creating several analyses | A brief comparison: Wavelets Vs. Fourier

Last update: 2017-02-09
Started: 2017-02-08

Readme and manuals

Help Manual

Help pageTopics
RHRV: An R-based software package for the heart rate variability analysis of ECG recordingsRHRV-package RHRV
Adds new episodes manuallyAddEpisodes
Analyzes Heart Rate using episodes informationAnalyzeHRbyEpisodes
Analyze power band by episodesAnalyzePowerBandsByEpisodes
Calculates the average of the Integral CorrelationsAvgIntegralCorrelation
Builds the instantaneous heart rate signal from a beat position arrayBuildNIHR
Build the Takens' vectorsBuildTakens
Calculates Takens expanded vectorsBuildTakensVector
Calculates Approximate EntropyCalculateApEn
Correlation sum, correlation dimension and generalized correlation dimension (order q >1)CalculateCorrDim EstimateCorrDim PlotCorrDim
Detrended Fluctuation AnalysisCalculateDFA EstimateDFA PlotDFA
Estimate the proper embedding dimension for the RR time seriesCalculateEmbeddingDim
CalculateSPDBandsEnergyCalculateEnergyInPSDBands
Calculates Fractal DimensionCalculateFracDim
Information dimension of the RR time seriesCalculateInfDim EstimateInfDim PlotInfDim
Maximum lyapunov exponentCalculateMaxLyapunov EstimateMaxLyapunov PlotMaxLyapunov
Calculates power per bandCalculatePowerBand
Spectral Density EstimationCalculatePSD
Calculates ra and rb from CorrelationCalculateRfromCorrelation
Sample Entropy (also known as Kolgomorov-Sinai Entropy)CalculateSampleEntropy EstimateSampleEntropy PlotSampleEntropy
Calculates the spectrogram of a signalCalculateSpectrogram
Estimate an appropiate time lag for the Takens' vectorsCalculateTimeLag
Creates data analysis structure for frequency analysis calculationsCreateFreqAnalysis
Creates data structure for all the calculationsCreateHRVData
Creates data analysis structure for non linear analysis calculationsCreateNonLinearAnalysis
Creates data analysis structure for time analysis calculationsCreateTimeAnalysis
Manually edition of non-interpolated instantaneous heart rateEditNIHR
Estimate the slope of the Power Spectral Density (PSD).EstimatePSDSlope
Time windows of HR recordExtractTimeSegment
Artefact filter based in an adaptive thresholdFilterNIHR
Creates new episodes from old onesGenerateEpisodes
Normalized Spectral UnitsgetNormSpectralUnits
HRVDataHRVData
HRVProcessedDataHRVProcessedData
Calculates the Integral CorrelationIntegralCorrelation
Linear or Spline interpolator for build the sample heart rate signalInterpolateNIHR
Episodes listingListEpisodes
Loads apnea episodes for WFDB recordLoadApneaWFDB
Builds an array of beats positions from different type of filesLoadBeat
Imports data from a record in Suunto Ambit XML formatLoadBeatAmbit
Builds an array of beats positions from an ascii fileLoadBeatAscii
Imports data from a record in EDF+ formatLoadBeatEDFPlus
Imports data from a record in Polar formatLoadBeatPolar
Builds an array of beats positions from an ascii fileLoadBeatRR
Imports data from a record in Suunto formatLoadBeatSuunto
Loads beats positions from an R vectorLoadBeatVector
Imports data from a record in WFDB formatLoadBeatWFDB
Loads episodes fileLoadEpisodesAscii
Imports header information from a record in wfdb formatLoadHeaderWFDB
Modifies values of episodesModifyEpisodes
Nonlinearity testsNonlinearityTests
Nonlinear noise reductionNonLinearNoiseReduction
OverplotEpisodesOverplotEpisodes
Simple plot of interpolated heart ratePlotHR
Simple plot of non-interpolated heart ratePlotNIHR
Plots power determined by CalculatePowerBand functionPlotPowerBand
Plot Spectral Density EstimationPlotPSD
PlotSinglePowerBandPlotSinglePowerBand
Calculates and Plots spectrogramPlotSpectrogram
Poincare PlotPoincarePlot
Reads data structure from fileReadFromFile
Recurrence PlotRecurrencePlot
Remove episodes by indexes or tagsRemoveEpisodes
Run a full HRV analysis including indices computation and statistical analysisRHRVEasy
Rerun the statistical analysis from a previous `RHRVEasy()` callRHRVEasyStats
Recurrence Quantification Analysis (RQA)RQA
Save the HRV indices as an excel fileSaveHRVIndices
Sets verbose mode on or offSetVerbose
Splits Heart Rate Data using Episodes informationSplitHRbyEpisodes
Splits Power Per Band using Episodes informationSplitPowerBandByEpisodes
Surrogate data testingSurrogateTest
Time windows of RR intervalsWindow
Writes data structure to a fileWriteToFile