LoadBeat: Builds an array of beats positions from different type of...

View source: R/LoadBeat.R

LoadBeatR Documentation

Builds an array of beats positions from different type of files

Description

Reads the specific file with data of beat positions and stores the values in a data structure

Usage

LoadBeat(fileType, HRVData, Recordname, RecordPath = ".", 
		annotator = "qrs", scale = 1, datetime = "1/1/1900 0:0:0", 
		annotationType = "QRS", verbose = NULL)

Arguments

fileType

The format of the file to be used: WFDB, Ascii, RR, Polar, Suunto, EDFPlus, Ambit

HRVData

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

Recordname

The file to be used

RecordPath

The path of the file

annotator

The extension of the file, only if we are working with a WFDB file

scale

1 if beat positions in seconds or 0.001 if beat positions in milliseconds, only if we are working with a RR or an Ascii file

datetime

Date and time (DD/MM/YYYY HH:MM:SS), only if we are working with a RR or an Ascii file

annotationType

The type of annotation wished, only if we are working with an EDF+ file

verbose

Deprecated argument maintained for compatibility, use SetVerbose() instead

Value

Returns HRVData, the structure that contains beat positions register

Author(s)

I. Garcia

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 documentation built on Nov. 1, 2022, 1:05 a.m.