Learn R Programming

⚠️There's a newer version (5.0.0) of this package.Take me there.

RHRV (version 4.2.7)

Heart Rate Variability Analysis of ECG Data

Description

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

Copy Link

Version

Install

install.packages('RHRV')

Monthly Downloads

1,037

Version

4.2.7

License

GPL-2

Maintainer

L RodriguezLinares

Last Published

October 31st, 2022

Functions in RHRV (4.2.7)

CalculateEmbeddingDim

Estimate the proper embedding dimension for the RR time series
CalculateSampleEntropy

Sample Entropy (also known as Kolgomorov-Sinai Entropy)
CalculateSpectrogram

Calculates the spectrogram of a signal
CalculateEnergyInPSDBands

CalculateSPDBandsEnergy
CalculateRfromCorrelation

Calculates ra and rb from Correlation
CalculateMaxLyapunov

Maximum lyapunov exponent
CalculatePSD

Spectral Density Estimation
CalculatePowerBand

Calculates power per band
CalculateFracDim

Calculates Fractal Dimension
CalculateInfDim

Information dimension of the RR time series
CreateHRVData

Creates data structure for all the calculations
EstimatePSDSlope

Estimate the slope of the Power Spectral Density (PSD).
ExtractTimeSegment

Time windows of HR record
EditNIHR

Manually edition of non-interpolated instantaneous heart rate
CreateTimeAnalysis

Creates data analysis structure for time analysis calculations
CreateNonLinearAnalysis

Creates data analysis structure for non linear analysis calculations
FilterNIHR

Artefact filter based in an adaptive threshold
GenerateEpisodes

Creates new episodes from old ones
InterpolateNIHR

Linear or Spline interpolator for build the sample heart rate signal
IntegralCorrelation

Calculates the Integral Correlation
HRVProcessedData

HRVProcessedData
HRVData

HRVData
CalculateTimeLag

Estimate an appropiate time lag for the Takens' vectors
LoadHeaderWFDB

Imports header information from a record in wfdb format
LoadBeat

Builds an array of beats positions from different type of files
CreateFreqAnalysis

Creates data analysis structure for frequency analysis calculations
LoadBeatWFDB

Imports data from a record in WFDB format
LoadBeatRR

Builds an array of beats positions from an ascii file
LoadBeatPolar

Imports data from a record in Polar format
ListEpisodes

Episodes listing
LoadBeatAmbit

Imports data from a record in Suunto Ambit XML format
ModifyEpisodes

Modifies values of episodes
LoadBeatAscii

Builds an array of beats positions from an ascii file
LoadApneaWFDB

Loads apnea episodes for WFDB record
LoadEpisodesAscii

Loads episodes file
PlotPSD

Plot Spectral Density Estimation
PlotSinglePowerBand

PlotSinglePowerBand
PlotPowerBand

Plots power determined by CalculatePowerBand function
NonlinearityTests

Nonlinearity tests
LoadBeatEDFPlus

Imports data from a record in EDF+ format
RQA

Recurrence Quantification Analysis (RQA)
OverplotEpisodes

OverplotEpisodes
PoincarePlot

Poincare Plot
ReadFromFile

Reads data structure from file
WriteToFile

Writes data structure to a file
Window

Time windows of RR intervals
PlotSpectrogram

Calculates and Plots spectrogram
SurrogateTest

Surrogate data testing
SplitPowerBandByEpisodes

Splits Power Per Band using Episodes information
NonLinearNoiseReduction

Nonlinear noise reduction
getNormSpectralUnits

Normalized Spectral Units
PlotHR

Simple plot of interpolated heart rate
LoadBeatVector

Loads beats positions from an R vector
LoadBeatSuunto

Imports data from a record in Suunto format
RHRV-package

RHRV: An R-based software package for the heart rate variability analysis of ECG recordings
PlotNIHR

Simple plot of non-interpolated heart rate
SetVerbose

Sets verbose mode on or off
SplitHRbyEpisodes

Splits Heart Rate Data using Episodes information
RecurrencePlot

Recurrence Plot
RemoveEpisodes

Remove episodes by indexes or tags
CalculateApEn

Calculates Approximate Entropy
AnalyzePowerBandsByEpisodes

Analyze power band by episodes
CalculateDFA

Detrended Fluctuation Analysis
CalculateCorrDim

Correlation sum, correlation dimension and generalized correlation dimension (order q >1)
AddEpisodes

Adds new episodes manually
AvgIntegralCorrelation

Calculates the average of the Integral Correlations
BuildTakensVector

Calculates Takens expanded vectors
BuildNIHR

Builds the instantaneous heart rate signal from a beat position array
BuildTakens

Build the Takens' vectors
AnalyzeHRbyEpisodes

Analyzes Heart Rate using episodes information