Learn R Programming

geeLite (version 1.0.2)

linear_interp: Simple Linear Interpolation

Description

Replaces NA values with linear interpolation.

Usage

linear_interp(x)

Value

A numeric vector of the same length as x, with NA

values replaced by linear interpolation.

Arguments

x

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