diff options
author | Suraj Yerramilli | 2015-06-09 16:04:40 +0530 |
---|---|---|
committer | Suraj Yerramilli | 2015-06-09 16:04:40 +0530 |
commit | 5941a959d72f2e8e9ab80afbb077d268254f26f7 (patch) | |
tree | 0d680d8e2038baa41d49838c3f42e506da8ff393 | |
parent | 55ae82f8079cb402276ca3b6e1a5318147b5dfac (diff) | |
download | SysID-R-code-5941a959d72f2e8e9ab80afbb077d268254f26f7.tar.gz SysID-R-code-5941a959d72f2e8e9ab80afbb077d268254f26f7.tar.bz2 SysID-R-code-5941a959d72f2e8e9ab80afbb077d268254f26f7.zip |
Minor bug fixes
-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 4068903..0671f01 100644 --- a/R/estpoly.R +++ b/R/estpoly.R @@ -25,7 +25,7 @@ residplot <- function(model,newdata=NULL){ e <- resid(model); u <- model$input } else{ if(class(newdata)!="idframe") stop("Only idframe objects allowed") - e <- newdata$output - predict(model,newdata) + e <- newdata$output - predict(model,newdata$input) u <- newdata$input } |