extract_valid_local_HP_stats: Internal utility for extracting local HP mean and sd based on...

Description Usage Arguments Value

View source: R/fct_gp_impute_core.R

Description

Internal utility for extracting local HP mean and sd based on user-identified valid data

Usage

1
2
3
4
5
6
7
8
9
extract_valid_local_HP_stats(
  ibi_data = NULL,
  time_min = NULL,
  time_max = NULL,
  selected_points = NULL,
  input_windows = NULL,
  ibi_col = "IBI",
  time_col = "Time"
)

Arguments

ibi_data

a data.frame containing the IBI series and corresponding time

time_min

the lower boundary of the imputation window - used to identify the range from which to calculate the "local" average heart period

time_max

the upper boundary of the imputation window - used to identify the range from which to calculate the "local" average heart period

selected_points

returned from the shiny brush used to identify the PPG imputation window

input_windows

the windows defined by the user and default settings that will be used by the imputation model to calculate the replacement PPG data for the targeted selection.

ibi_col

the column name in ibi_data that contains the IBI time series

time_col

the column name in the ibi_data that contains the timing information for the IBI series

Value

a list of "local" heart period stats including the mean and standard deviation


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