summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--R/preprocess.R2
1 files changed, 1 insertions, 1 deletions
diff --git a/R/preprocess.R b/R/preprocess.R
index f119d98..cb7a7ee 100644
--- a/R/preprocess.R
+++ b/R/preprocess.R
@@ -41,7 +41,7 @@ detrend <- function(x,type=c("constant","linear")[1]){
}
# Return Variables
- Z <- data # Detrended object
+ Z <- x # Detrended object
output_trend <- NULL # object containing the output trend fits/offsets
input_trend <- NULL # object containing the input trend fits/offsets