summaryrefslogtreecommitdiff
path: root/R/detrend.R
diff options
context:
space:
mode:
Diffstat (limited to 'R/detrend.R')
-rw-r--r--R/detrend.R2
1 files changed, 1 insertions, 1 deletions
diff --git a/R/detrend.R b/R/detrend.R
index 7f393ab..1943d47 100644
--- a/R/detrend.R
+++ b/R/detrend.R
@@ -55,7 +55,7 @@ detrend.idframe <- function(data){
#' splitList <- dataPartition(cstr,p=0.6)
#' train <- splitList$estimation # training set
#' test <- splitList$validation # testing set
-#' fit <- detrend(train)
+#' fit <- detrend.idframe(train)
#' train_detrend <- predict(fit)
#' test_detrend <- predict(fit,newdata=test)
#' @export