summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSuraj Yerramilli2015-02-11 21:05:29 +0530
committerSuraj Yerramilli2015-02-11 21:05:29 +0530
commitf7c31aa1cecb7b21aafa81ebf9a08d6c6bce9f27 (patch)
tree346beca68c4dde0cd87e06f3f62466899aaaeb9a
parent9f65d49046146595c73d8e74c4a5e59ec0d3c773 (diff)
downloadSysID-R-code-f7c31aa1cecb7b21aafa81ebf9a08d6c6bce9f27.tar.gz
SysID-R-code-f7c31aa1cecb7b21aafa81ebf9a08d6c6bce9f27.tar.bz2
SysID-R-code-f7c31aa1cecb7b21aafa81ebf9a08d6c6bce9f27.zip
corrections to the documentation
-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)
}