summaryrefslogtreecommitdiff
path: root/man/misdata.Rd
diff options
context:
space:
mode:
Diffstat (limited to 'man/misdata.Rd')
-rw-r--r--man/misdata.Rd29
1 files changed, 29 insertions, 0 deletions
diff --git a/man/misdata.Rd b/man/misdata.Rd
new file mode 100644
index 0000000..a6d4df8
--- /dev/null
+++ b/man/misdata.Rd
@@ -0,0 +1,29 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/preprocess.R
+\name{misdata}
+\alias{misdata}
+\title{Replace Missing Data by Interpolation}
+\usage{
+misdata(data)
+}
+\arguments{
+\item{data}{an object of class \code{idframe}}
+}
+\value{
+data (an idframe object) with missing data replaced.
+}
+\description{
+Function for replacing missing values with interpolated ones. This is an
+extension of the \code{na.approx} function from the \code{zoo} package.
+The missing data is indicated using the value \emph{NA}.
+}
+\examples{
+data(cstr_mis)
+summary(cstr_mis) # finding out the number of NAs
+cstr <- misdata(cstr_mis)
+
+}
+\seealso{
+\code{\link[zoo]{na.approx}}
+}
+