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.Rd4
1 files changed, 2 insertions, 2 deletions
diff --git a/man/predict.detrend.Rd b/man/predict.detrend.Rd
index f5fbf40..87b751f 100644
--- a/man/predict.detrend.Rd
+++ b/man/predict.detrend.Rd
@@ -20,8 +20,8 @@ Returns detrended \code{idframe} object based on linear trend fit
}
\examples{
data(cstr)
-train <- dataSlice(cstr,end=5000) # subset the first 5000 indices
-test <- dataSlice(cstr,start=6001) # subset from index 6001 till the end
+train <- dataSlice(cstr,end=5000)
+test <- dataSlice(cstr,start=6001)
fit <- detrend(train)
Ztrain <- predict(fit)
Ztest <- predict(fit,test)