diff options
author | Suraj Yerramilli | 2015-06-05 12:53:45 +0530 |
---|---|---|
committer | Suraj Yerramilli | 2015-06-05 12:53:45 +0530 |
commit | 521f2e20dcc94457a2adbe30c29704aac507a123 (patch) | |
tree | 8356d4225679fdabd159bd9edaba78743d9d8e04 /R | |
parent | 8376565b2b1debf41452ac53ebfea55fbcada0fd (diff) | |
download | SysID-R-code-521f2e20dcc94457a2adbe30c29704aac507a123.tar.gz SysID-R-code-521f2e20dcc94457a2adbe30c29704aac507a123.tar.bz2 SysID-R-code-521f2e20dcc94457a2adbe30c29704aac507a123.zip |
minor change in misdata function
Diffstat (limited to 'R')
-rw-r--r-- | R/preprocess.R | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/R/preprocess.R b/R/preprocess.R index f28af8c..66c4a67 100644 --- a/R/preprocess.R +++ b/R/preprocess.R @@ -114,7 +114,7 @@ misdata <- function(data){ f <- function(var,start,end,Ts){ var <- ts(data=var,start=start,end=end,frequency=floor(1/Ts)) - out <- na.approx(var,) + out <- na.approx(var,na.rm=F) return(as.numeric(out)) } |