Learn R Programming

beats (version 0.1.1)

read_ube: Read data from a UBE file

Description

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

Usage

read_ube(ube_path)

Arguments

ube_path

Path to UBE file.

Value

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

Examples

Run this code
# NOT RUN {
# File path to sample data
fp <- system.file("extdata", "max_ecg_190826b.ube", package = "beats")
# Read ube file
ecg_data <- read_ube(fp)
# }

Run the code above in your browser using DataLab