gap_wrapper_function: wrapper function for maximum number of consecutive NA values

View source: R/statistic.R

gap_wrapper_functionR Documentation

wrapper function for maximum number of consecutive NA values

Description

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


Ostluft/rOstluft documentation built on Feb. 6, 2024, 1:26 a.m.