diff options
author | Suraj Yerramilli | 2016-02-10 11:59:37 +0530 |
---|---|---|
committer | Suraj Yerramilli | 2016-02-10 11:59:37 +0530 |
commit | 33c84e38231aaa82a41b3e92fc9656b0cca51f0c (patch) | |
tree | 971d5ac0b477e23f6c239b086fba428ced212e04 | |
parent | d3d1b26b6af4141ab3ec85ae81e1c589bdd80387 (diff) | |
download | SysID-R-code-33c84e38231aaa82a41b3e92fc9656b0cca51f0c.tar.gz SysID-R-code-33c84e38231aaa82a41b3e92fc9656b0cca51f0c.tar.bz2 SysID-R-code-33c84e38231aaa82a41b3e92fc9656b0cca51f0c.zip |
error fix
-rw-r--r-- | R/idframe.R | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/R/idframe.R b/R/idframe.R index b37ef76..b90eeef 100644 --- a/R/idframe.R +++ b/R/idframe.R @@ -27,6 +27,7 @@ idframe <- function(output=NULL,input=NULL,Ts = 1,start=0,end=NULL, l <- list(output,input) l2 <- lapply(l,data.frame) n <- dim(l2[[1]]) + dims <- sapply(l2,ncol) colnames(l2[[1]]) <- sapply(1:dims[1], function(x) paste("y",x,sep = "")) colnames(l2[[2]]) <- sapply(1:dims[2], |