diff options
-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){ |