find_ibis: Integrated function for generating interbeat interval...

Description Usage Arguments Value

View source: R/fct_find_ibis.R

Description

find_ibis identifies the timing of heart beats in photoplethysmogram data. Input is a time-series of cardiac data generated via recordings from photoplethysmogram sensors. The function does three main things: optimizes bandwidth used in the peak detection algorithm, uses the peaks as proxies for the timing of heart beats, and returns a time-series of interbeat intervals with basic diagnostic statistics.

Usage

1
find_ibis(ppg_signal, sampling_rate, min_time, time_adjust = 3, peak_iter)

Arguments

ppg_signal

a vector of signal values collected from a photopleythysmogram sensor. If not a vector of values must be an object that can be safely cast to a single vector of temporally sequenced numeric values.

sampling_rate

the desired sampling rate, in Hz, for the data used in the peak detection algorithm.

min_time

the minimum time value of the original time series in seconds

time_adjust

the time value adjustment applied to the ibi_series. Within the ibiVizEdit app the value defaults to 3, which, in effect removes the first and last three seconds of the returned ibi values as a crude system for dealing with beginning and end of file issues associated with peak detection.

peak_iter

a value that specificies the number of iterations for the algorithm to use when attempting to identify the location of the heartbeat "peaks"

Value

Returns a list containing a dataframe of interbeat intervals and their timing and a dataframe of diagnostic information about the peak detection algorithm optimization parameters and summary statistics.


dr-consulting/ibi_VizEdit documentation built on Jan. 1, 2021, 12:04 a.m.