read_and_filter_one_file: function to read and filter a single file containing rr...

View source: R/data-loading-functions.R

read_and_filter_one_fileR Documentation

function to read and filter a single file containing rr intervals and annotations

Description

function to read and filter a single file containing rr intervals and annotations

Usage

read_and_filter_one_file(
  file_addresses,
  line_number,
  separator,
  column_data,
  minmax,
  using_excel,
  flags_coding,
  shuffle = "No"
)

Arguments

file_addresses

list with name, size, type and path of files with rr intervals

line_number

the position of the file being loaded on the list

separator

separator for the loaded file (tab, comma etc.)

column_data

text, two numbers, the numbers of the RR column and the annotation column (typically "1 2")

minmax

tex, two numbers, the minimum RR to be counted as RR of sinus origin, likewise for maximum

using_excel

boolean, whether the files are Excel files

flags_coding

list with flags_coding

Value

list with two elements, RR intervals column and annotations column


jaropis/HRAexplorer documentation built on March 20, 2024, 7:05 a.m.