misdata {sysid}R Documentation

Replace Missing Data by Interpolation

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

misdata(data)

Arguments

data

an object of class idframe

Value

data (an idframe object) with missing data replaced.

See Also

na.approx

Examples

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


[Package sysid version 1.0.4 Index]