Skip to content

Commit 2b5163a

Browse files
authored
Merge pull request #53 from SebKrantz/development
Fix print bug.
2 parents 10a9415 + afad48d commit 2b5163a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/methods.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ print.dfm_summary <- function(x,
8585
inf <- as.integer(x$info[1:4])
8686
cat("Dynamic Factor Model: n = ", inf[1L], ", T = ", inf[2L], ", r = ", inf[3L], ", p = ", inf[4L],
8787
", %NA = ", round(x$info[5L], digits), "\n", sep = "")
88-
if(length(x$idio_ar1)) cat(" with AR(1) errors: mean(abs(rho)) =", round(mean(abs(x$res_ACF)), 3), "\n")
88+
if(x$idio_ar1) cat(" with AR(1) errors: mean(abs(rho)) =", round(mean(abs(x$res_ACF)), 3), "\n")
8989
cat("\nCall: ", deparse(x$call))
9090
# cat("\nModel: ", ))
9191
cat("\n\nSummary Statistics of Factors [F]\n")

0 commit comments

Comments
 (0)