Skip to contents

wrapper function for maximum number of consecutive NA values

Usage

gap_wrapper_function(statistic_fun, max_gap, ...)

Arguments

statistic_fun

statistic function to apply if max gap criterium is meet

max_gap

maxium Number of consecutive NA values

...

Additional arguments passed on to the statistic function

Value

wrapped function