Learn R Programming

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

RHRV (version 4.2.3)

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.

Copy Link

Version

Install

install.packages('RHRV')

Monthly Downloads

1,037

Version

4.2.3

License

GPL-2

Maintainer

L RodriguezLinares

Last Published

February 9th, 2017

Functions in RHRV (4.2.3)

AnalyzePowerBandsByEpisodes

Analyze power band by episodes
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
CalculateRfromCorrelation

Calculates ra and rb from Correlation
CalculateSampleEntropy

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

Spectral Density Estimation
CalculateEmbeddingDim

Estimate the proper embedding dimension for the RR time series
CalculateDFA

Detrended Fluctuation Analysis
CalculateApEn

Calculates Approximate Entropy
CalculateCorrDim

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

Calculates power per band
CalculateMaxLyapunov

Maximum lyapunov exponent
CalculateInfDim

Information dimension of the RR time series
AddEpisodes

Adds new episodes manually
CalculateEnergyInPSDBands

CalculateSPDBandsEnergy
CalculateFracDim

Calculates Fractal Dimension
AnalyzeHRbyEpisodes

Analyzes Heart Rate using episodes information
EditNIHR

Manually edition of non-interpolated instantaneous heart rate
CreateTimeAnalysis

Creates data analysis structure for time analysis calculations
FilterNIHR

Artefact filter based in an adaptive threshold
EstimatePSDSlope

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

Time windows of HR record
HRVProcessedData

HRVProcessedData
GenerateEpisodes

Creates new episodes from old ones
IntegralCorrelation

Calculates the Integral Correlation
LoadBeatAmbit

Imports data from a record in Suunto Ambit XML format
NonlinearityTests

Nonlinearity tests
LoadBeatAscii

Builds an array of beats positions from an ascii file
ModifyEpisodes

Modifies values of episodes
CreateHRVData

Creates data structure for all the calculations
CreateNonLinearAnalysis

Creates data analysis structure for non linear analysis calculations
LoadBeatEDFPlus

Imports data from a record in EDF+ format
PlotSinglePowerBand

PlotSinglePowerBand
LoadBeatPolar

Imports data from a record in Polar format
LoadBeatVector

Loads beats positions from an R vector
PlotSpectrogram

Calculates and Plots spectrogram
PlotPSD

Plot Spectral Density Estimation
LoadBeatWFDB

Imports data from a record in WFDB format
PlotPowerBand

Plots power determined by CalculatePowerBand function
NonLinearNoiseReduction

Nonlinear noise reduction
OverplotEpisodes

OverplotEpisodes
PoincarePlot

Poincare Plot
LoadBeatSuunto

Imports data from a record in Suunto format
ReadFromFile

Reads data structure from file
LoadBeatRR

Builds an array of beats positions from an ascii file
PlotHR

Simple plot of interpolated heart rate
PlotNIHR

Simple plot of non-interpolated heart rate
LoadApneaWFDB

Loads apnea episodes for WFDB record
LoadBeat

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

Sets verbose mode on or off
SplitHRbyEpisodes

Splits Heart Rate Data using Episodes information
SurrogateTest

Surrogate data testing
SplitPowerBandByEpisodes

Splits Power Per Band using Episodes information
RQA

Recurrence Quantification Analysis (RQA)
HRVData

HRVData
RHRV-package

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

Normalized Spectral Units
InterpolateNIHR

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

Calculates the spectrogram of a signal
CreateFreqAnalysis

Creates data analysis structure for frequency analysis calculations
ListEpisodes

Episodes listing
LoadHeaderWFDB

Imports header information from a record in wfdb format
LoadEpisodesAscii

Loads episodes file
RecurrencePlot

Recurrence Plot
WriteToFile

Writes data structure to a file
Window

Time windows of RR intervals
RemoveEpisodes

Remove episodes by indexes or tags
BuildTakens

Build the Takens' vectors
CalculateTimeLag

Estimate an appropiate time lag for the Takens' vectors