diff options
author | Suraj Yerramilli | 2015-09-09 12:42:02 +0530 |
---|---|---|
committer | Suraj Yerramilli | 2015-09-09 12:42:02 +0530 |
commit | 701b57741bb1da6b66723ff04f4e94e32e8e5966 (patch) | |
tree | 1365f58d0d6fcd6a1bc9efdbf943b103873ce10b /R | |
parent | 0e40d0e19f699c3cb032253438c18242f06207f3 (diff) | |
download | SysID-R-code-701b57741bb1da6b66723ff04f4e94e32e8e5966.tar.gz SysID-R-code-701b57741bb1da6b66723ff04f4e94e32e8e5966.tar.bz2 SysID-R-code-701b57741bb1da6b66723ff04f4e94e32e8e5966.zip |
Minor correction
Diffstat (limited to 'R')
-rw-r--r-- | R/readData.R | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/R/readData.R b/R/readData.R index 6729a1b..c038c2f 100644 --- a/R/readData.R +++ b/R/readData.R @@ -18,7 +18,7 @@ read.idframe <- function(data,ninputs=NULL,Ts = 1, unit=c("seconds","minutes","hours", "days")[1]){ outIndex <- 1:dim(data)[2]; inputs <- NULL - if(ninputs==0){ + if(ninputs!=0){ inputs <- data[,1:ninputs,drop=F] outIndex <- seq(ninputs+1,dim(data)[2],by=1) } |