completeSeq: completeSeq takes a vector of numbers that may contain NA...

Description Usage Arguments Value Examples

Description

completeSeq takes a vector of numbers that may contain NA values and recursively fills in the NA values by interpolating the about a symmetric string of NA's. This method assumes the first and last element of the vector to be non NA values.

Usage

1

Arguments

row

is the vector whose first and last elements are non NA values

Value

row but all the NA's are linearly interpolated

Examples

1
completedVec <- completeSeq(c(1,NA,NA,3,NA,NA,NA,9))

DanielXiang/3Dbullets documentation built on May 6, 2019, 1:36 p.m.