diff options
author | Suraj Yerramilli | 2015-06-09 15:59:54 +0530 |
---|---|---|
committer | Suraj Yerramilli | 2015-06-09 15:59:54 +0530 |
commit | 55ae82f8079cb402276ca3b6e1a5318147b5dfac (patch) | |
tree | c0670253c592f0fbcf86b3651a4ef1e77260f4a2 | |
parent | 8228ae29bbd52ca62790bd0af276f52162046c6c (diff) | |
download | SysID-R-code-55ae82f8079cb402276ca3b6e1a5318147b5dfac.tar.gz SysID-R-code-55ae82f8079cb402276ca3b6e1a5318147b5dfac.tar.bz2 SysID-R-code-55ae82f8079cb402276ca3b6e1a5318147b5dfac.zip |
Minor Changes
-rw-r--r-- | R/estpoly.R | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/R/estpoly.R b/R/estpoly.R index 3a3eed1..4068903 100644 --- a/R/estpoly.R +++ b/R/estpoly.R @@ -127,7 +127,7 @@ predict.estARX <- function(model,newdata=NULL){ if(is.null(newdata)){ return(fitted(model)) } else{ - return(sim(coef(model),as.numeric(newdata$input))) + return(sim(coef(model),newdata$input)) } } |