Description Usage Arguments Value
View source: R/fct_gp_impute_core.R
generate_imputation_input_windows
is designed to take in the time vector for the entire PPG series, and return
a list containing the boundaries that define input data that will be used in the imputation model. The total amount
of input data is defined by the expansion_factor
, which is the number of total respiration cycles. The value
in ibiVizEdit
defaults to 3, and in the case of imputation models. Combined with the average respiration rate
extracted from the PPG and IBI series, the total_input_time
parameter represents the ideal of being able to
use approximately three breaths worth of data before the window targeted for imputation and three breaths worth of
data after the target window. When the target window approaches the beginning or end of a file, this function will
distribute the total time around the target window as evenly as possible. The goal is to come as close as possible to
the total amount of input data covering the amount of time defined by total_input_time
.
1 2 3 4 5 6 | generate_imputation_input_windows(
time_vector,
total_input_time,
target_time_min,
target_time_max
)
|
time_vector |
is a |
total_input_time |
is a |
target_time_min |
is a |
target_time_max |
is a |
list that contains the input imputation windows boundaries
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.