R/print.GNARfit.R

Defines functions print.GNARfit

Documented in print.GNARfit

print.GNARfit <- function(x, ...){
  stopifnot(is.GNARfit(x))
  dotarg <- list(...)
  if(length(dotarg)!=0){
    if(!is.null(names(dotarg))){
      warning("... not used here, input(s) ", paste(names(dotarg), collapse=", "), " ignored")
    }else{
      warning("... not used here, input(s) ", paste(dotarg, collapse=", "), " ignored")
    }
  }
  cat("Model:", "\n")
  cat(paste("GNAR(", x$frbic$alphas.in,
            ",[", paste(x$frbic$betas.in,sep=",",
                        collapse=","),"])", sep=""),"\n")
  print(x$mod)
}

Try the GNAR package in your browser

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

GNAR documentation built on April 28, 2023, 1:12 a.m.