Description Usage Arguments Value
View source: R/fct_find_ibis.R
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.
1 | find_ibis(ppg_signal, sampling_rate, min_time, time_adjust = 3, peak_iter)
|
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 |
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" |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.