View source: R/PreprocessingFunctions.R
interpolate_with_margin | R Documentation |
Interpolate over gaps (subsequent NAs) in vector.
interpolate_with_margin(data_in, marg, max_gap)
data_in |
Vector to interpolate in |
marg |
Margin in samples before and after gap to use for interpolation |
max_gap |
Maximum length of gaps in sample |
vector with interpolated gaps
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.