read_ube: Read data from a UBE file

Description Usage Arguments Value Examples

View source: R/read_ube.R

Description

read_ube parses a binary UBE file, returning a data frame with ECG records and timestamps

Usage

1
read_ube(ube_path)

Arguments

ube_path

Path to UBE file.

Value

A data.frame with columns timestamp (POSIXct) and ecg (numeric)

Examples

1
2
3
4
# File path to sample data
fp <- system.file("extdata", "max_ecg_190826b.ube", package = "beats")
# Read ube file
ecg_data <- read_ube(fp)

beats documentation built on March 26, 2020, 5:51 p.m.