linear_interp {geeLite}R Documentation

Simple Linear Interpolation

Description

Replaces NA values with linear interpolation.

Usage

linear_interp(x)

Arguments

x

[mandatory] (numeric) A numeric vector possibly containing NA values.

Value

A numeric vector of the same length as x, with NA values replaced by linear interpolation.


[Package geeLite version 1.0.2 Index]