Learn R Programming

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

RHRV (version 4.2.5)

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

License

GPL-2

Maintainer

L RodriguezLinares

Last Published

October 30th, 2019

Functions in RHRV (4.2.5)

BuildTakens

Build the Takens' vectors
CalculateDFA

Detrended Fluctuation Analysis
AvgIntegralCorrelation

Calculates the average of the Integral Correlations
AnalyzeHRbyEpisodes

Analyzes Heart Rate using episodes information
BuildNIHR

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

Adds new episodes manually
AnalyzePowerBandsByEpisodes

Analyze power band by episodes
CalculateCorrDim

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

Calculates Takens expanded vectors
CalculateApEn

Calculates Approximate Entropy
CalculatePowerBand

Calculates power per band
EditNIHR

Manually edition of non-interpolated instantaneous heart rate
CalculateInfDim

Information dimension of the RR time series
LoadBeat

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

Calculates Fractal Dimension
LoadBeatAmbit

Imports data from a record in Suunto Ambit XML format
CreateTimeAnalysis

Creates data analysis structure for time analysis calculations
EstimatePSDSlope

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

Calculates ra and rb from Correlation
CalculateEmbeddingDim

Estimate the proper embedding dimension for the RR time series
LoadBeatWFDB

Imports data from a record in WFDB format
ExtractTimeSegment

Time windows of HR record
LoadHeaderWFDB

Imports header information from a record in wfdb format
ModifyEpisodes

Modifies values of episodes
RHRV-package

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

Poincare Plot
CalculatePSD

Spectral Density Estimation
CalculateTimeLag

Estimate an appropiate time lag for the Takens' vectors
CalculateMaxLyapunov

Maximum lyapunov exponent
LoadEpisodesAscii

Loads episodes file
CalculateEnergyInPSDBands

CalculateSPDBandsEnergy
CalculateSampleEntropy

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

Loads apnea episodes for WFDB record
ListEpisodes

Episodes listing
GenerateEpisodes

Creates new episodes from old ones
FilterNIHR

Artefact filter based in an adaptive threshold
LoadBeatAscii

Builds an array of beats positions from an ascii file
CalculateSpectrogram

Calculates the spectrogram of a signal
LoadBeatEDFPlus

Imports data from a record in EDF+ format
HRVData

HRVData
NonlinearityTests

Nonlinearity tests
CreateFreqAnalysis

Creates data analysis structure for frequency analysis calculations
LoadBeatSuunto

Imports data from a record in Suunto format
PlotHR

Simple plot of interpolated heart rate
CreateHRVData

Creates data structure for all the calculations
RecurrencePlot

Recurrence Plot
RemoveEpisodes

Remove episodes by indexes or tags
OverplotEpisodes

OverplotEpisodes
RQA

Recurrence Quantification Analysis (RQA)
ReadFromFile

Reads data structure from file
PlotNIHR

Simple plot of non-interpolated heart rate
LoadBeatVector

Loads beats positions from an R vector
CreateNonLinearAnalysis

Creates data analysis structure for non linear analysis calculations
HRVProcessedData

HRVProcessedData
SplitPowerBandByEpisodes

Splits Power Per Band using Episodes information
LoadBeatPolar

Imports data from a record in Polar format
IntegralCorrelation

Calculates the Integral Correlation
InterpolateNIHR

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

PlotSinglePowerBand
PlotSpectrogram

Calculates and Plots spectrogram
SurrogateTest

Surrogate data testing
LoadBeatRR

Builds an array of beats positions from an ascii file
Window

Time windows of RR intervals
PlotPowerBand

Plots power determined by CalculatePowerBand function
PlotPSD

Plot Spectral Density Estimation
WriteToFile

Writes data structure to a file
SetVerbose

Sets verbose mode on or off
SplitHRbyEpisodes

Splits Heart Rate Data using Episodes information
getNormSpectralUnits

Normalized Spectral Units
NonLinearNoiseReduction

Nonlinear noise reduction