summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSuraj Yerramilli2015-11-02 13:55:32 +0530
committerSuraj Yerramilli2015-11-02 13:55:32 +0530
commitfe4640fafef3a3afc2e8577674441f7841eb669e (patch)
tree408822144a34a6fbdafa3d380b66545d04bef611
parent77f98515a1fa824e673b25b952d2f68ef594c0a5 (diff)
downloadSysID-R-code-fe4640fafef3a3afc2e8577674441f7841eb669e.tar.gz
SysID-R-code-fe4640fafef3a3afc2e8577674441f7841eb669e.tar.bz2
SysID-R-code-fe4640fafef3a3afc2e8577674441f7841eb669e.zip
minor corrections
-rw-r--r--R/estpoly.R2
1 files changed, 1 insertions, 1 deletions
diff --git a/R/estpoly.R b/R/estpoly.R
index cb3de20..09874e3 100644
--- a/R/estpoly.R
+++ b/R/estpoly.R
@@ -72,7 +72,7 @@ print.summary.estPoly <- function(object){
print(coef(object))
cat(paste("\nMSE:",format(object$mse,digits=4),
"\tFPE:",format(object$fpe,digits=4)))
- if(object$type=="arx") cat(paste("\nDoF:",object$df))
+ if(object$model$type=="arx") cat(paste("\nDoF:",object$df))
}
#' @export