R/print.vec2var.R

"print.vec2var" <-
function(x, ...){
  cat("\nCoefficient matrix of lagged endogenous variables:\n")
  for(i in 1:x$p){
    cat(paste("\nA", i, ":\n", sep = ""))
    print(x$A[[i]], ...)
    cat("\n")
  }
  cat("\nCoefficient matrix of deterministic regressor(s).\n")
  cat("\n")
  print(x$deterministic, ...)
  invisible(x)                                                                              
}

Try the vars package in your browser

Any scripts or data that you put into this service are public.

vars documentation built on March 31, 2023, 10:30 p.m.