From 701b57741bb1da6b66723ff04f4e94e32e8e5966 Mon Sep 17 00:00:00 2001 From: Suraj Yerramilli Date: Wed, 9 Sep 2015 12:42:02 +0530 Subject: Minor correction --- R/readData.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'R') 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) } -- cgit