summaryrefslogtreecommitdiff
path: root/man/predict.detrend.Rd
diff options
context:
space:
mode:
Diffstat (limited to 'man/predict.detrend.Rd')
-rw-r--r--man/predict.detrend.Rd29
1 files changed, 29 insertions, 0 deletions
diff --git a/man/predict.detrend.Rd b/man/predict.detrend.Rd
new file mode 100644
index 0000000..d6d68f4
--- /dev/null
+++ b/man/predict.detrend.Rd
@@ -0,0 +1,29 @@
+% Generated by roxygen2 (4.1.0): do not edit by hand
+% Please edit documentation in R/detrend.R
+\name{predict.detrend}
+\alias{predict.detrend}
+\title{Predict method for trend fits on idframe objects}
+\usage{
+\method{predict}{detrend}(object, newdata = NULL, ...)
+}
+\arguments{
+\item{object}{an object of class \code{idframe}}
+
+\item{newdata}{An optional idframe object in which to look for variables with
+which to predict. If ommited, the original detrended idframe object is used}
+}
+\value{
+an \code{idframe} object
+}
+\description{
+Detrended \code{idframe} object based on linear trend fit
+}
+\examples{
+data(distill)
+train <- dataSlice(distill,end=60) # subset the first 60 indices
+test <- dataSlice(distill,start=61) # subset from index 61 till the end
+fit <- detrend(train)
+Ztrain <- predict(fit)
+Ztest <- predict(fit,test)
+}
+