summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--R/detrend.R2
-rw-r--r--man/predict.detrend.idframe.Rd2
2 files changed, 2 insertions, 2 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
diff --git a/man/predict.detrend.idframe.Rd b/man/predict.detrend.idframe.Rd
index 643ced8..35ec2d3 100644
--- a/man/predict.detrend.idframe.Rd
+++ b/man/predict.detrend.idframe.Rd
@@ -24,7 +24,7 @@ data(cstr)
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)
}