linear_interpolation: linear interpolation for vector
Description
Linear interpolation is performed by using the values on both
sides of the missing values.
Usage
linear_interpolation(DataVector)
Value
A interpolated vector
Arguments
- DataVector
data vector.Note that the starting value of vector needs
to be no missing value.