All sections of NA values that are smaller or equal as a defined maximal number of NA's are interpolated

interpolate_multipleNA(data_vector, max_na)

Arguments

data_vector

Numeric vector of measurements (including NA values)

max_na

the maximal number of NA values in a row to be interpolated

Value

A list containing the data vector with interpolated NA value as well as an information about the amount of NA's interpolated