misdata: Replace Missing Data by Interpolation

Description Usage Arguments Value See Also Examples

Description

Function for replacing missing values with interpolated ones. This is an extension of the na.approx function from the zoo package. The missing data is indicated using the value NA.

Usage

1

Arguments

data

an object of class idframe

Value

data (an idframe object) with missing data replaced.

See Also

na.approx

Examples

1
2
3
data(cstr_mis)
summary(cstr_mis) # finding out the number of NAs
cstr <- misdata(cstr_mis)

sysid documentation built on May 2, 2019, 4:18 a.m.