Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

LoadBeatAscii

Builds an array of beats positions from an ascii file


Description

Reads an ascii file with data of beat positions and stores the values in a data structure. A segment of a file can be loaded making use of the "starttime" and "endtime" arguments.

Usage

LoadBeatAscii(HRVData, RecordName, RecordPath=".", scale = 1, starttime=NULL,
      endtime=NULL, datetime = "1/1/1900 0:0:0", verbose = NULL)

Arguments

HRVData

Data structure that stores the beats register and information related to it

RecordName

Ascii file containing the beats to be loaded

RecordPath

The path of the file

scale

1 if beat positions in seconds or 0.001 if beat positions in milliseconds

starttime

Beginning of the segment of file to load

endtime

End of the segment of file to load

datetime

Date and time (DD/MM/YYYY HH:MM:SS)

verbose

Deprecated argument maintained for compatibility, use SetVerbose() instead

Value

Loads beats positions into the structure that contains RHRV information. The file containing the heartbeats positions must be a single column file with no headers. Each line should denote the occurrence time of each heartbeat. An example of a valid file could be the following:
0
0.3280001
0.7159996
1.124
1.5
1.88
(...)

Author(s)

A. Mendez, L. Rodriguez, A. Otero, C.A. Garcia, X. Vila, M. Lado

References

L. Rodriguez-Linares, L., A.J. Mendez, M.J. Lado, D.N. Olivieri, X.A. Vila, and I. Gomez-Conde, "An open source tool for heart rate variability spectral analysis", Computer Methods and Programs in Biomedicine 103(1):39-50, july 2011.


RHRV

Heart Rate Variability Analysis of ECG Data

v4.2.6
GPL-2
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]
Initial release
2020-12-14

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.