From f7c31aa1cecb7b21aafa81ebf9a08d6c6bce9f27 Mon Sep 17 00:00:00 2001 From: Suraj Yerramilli Date: Wed, 11 Feb 2015 21:05:29 +0530 Subject: corrections to the documentation --- R/detrend.R | 2 +- man/predict.detrend.idframe.Rd | 2 +- 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) } -- cgit