R/print.varirf.R

"print.varirf" <-
function(x, ...){
  cat("\nImpulse response coefficients\n")
  print(x[[1]], ...)
  if(x$boot){
    cat(paste("\nLower Band, CI=", 1 - x$ci, "\n"))
    print(x[[2]], ...)
    cat(paste("\nUpper Band, CI=", 1 - x$ci, "\n"))
    print(x[[3]], ...)
  }
}

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.