Learn R Programming

sysid (version 1.0.5)

misdata: 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)

Value

data (an idframe object) with missing data replaced.

Arguments

data

an object of class idframe

See Also

Examples

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

Run the code above in your browser using DataLab