interpolate_multipleNA: Linear interpolation for one or more missing values

View source: R/interpolate_data.R

interpolate_multipleNAR Documentation

Linear interpolation for one or more missing values

Description

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

Usage

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


KWB-R/kwb.misa documentation built on March 18, 2022, 9:56 a.m.