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.Rd2
1 files changed, 1 insertions, 1 deletions
diff --git a/man/predict.detrend.Rd b/man/predict.detrend.Rd
index 01a27af..41667c7 100644
--- a/man/predict.detrend.Rd
+++ b/man/predict.detrend.Rd
@@ -21,7 +21,7 @@ Detrended \code{idframe} object based on linear trend fit
\examples{
data(cstr)
train <- dataSlice(cstr,end=5000) # subset the first 5000 indices
-test <- dataSlice(distill,start=6001) # subset from index 6001 till the end
+test <- dataSlice(cstr,start=6001) # subset from index 6001 till the end
fit <- detrend(train)
Ztrain <- predict(fit)
Ztest <- predict(fit,test)