diff options
author | Suraj Yerramilli | 2016-03-18 13:04:44 +0530 |
---|---|---|
committer | Suraj Yerramilli | 2016-03-18 13:04:44 +0530 |
commit | 274ae5bf9d534fe3cba1da4ffba232395027324d (patch) | |
tree | 20bb580361c1831537ea031d9a9222e1bf105045 | |
parent | a5021c007c6f4668aa284cf3100b38c1b649fa04 (diff) | |
download | SysID-R-code-274ae5bf9d534fe3cba1da4ffba232395027324d.tar.gz SysID-R-code-274ae5bf9d534fe3cba1da4ffba232395027324d.tar.bz2 SysID-R-code-274ae5bf9d534fe3cba1da4ffba232395027324d.zip |
minor corrections
-rw-r--r-- | R/poly.R | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -56,11 +56,12 @@ typecheck <- function(x){ } else{ out <- if(y$C) "ar" else "arma" } - if(y$B) out <- paste(out,"x",sep="") + if(!y$B) out <- paste(out,"x",sep="") } else{ out <- "polynomial" } } + out } checkUnity <- function(x){ |