R/print.arfimaOLS.R

Defines functions print.arfimaOLS

Documented in print.arfimaOLS

#' @export
print.arfimaOLS <-
function(x, ...){
  if(!is.null(x$ecm)){
    cat("\n###################################\n")
    cat("Results Error Correction Mechanism: \n")
    print(x$ecm)
  }
  cat("\n###################################\n")
  cat("Fractional Differencing Parameters: \n\n")
  print(x$d)
  if(!is.null(x$arma)){
      cat("\n\n################\n")
      cat("AR/MA Estimates: \n\n")
      print(x$arma)
  }
  cat("\n##################\n")
  cat("Results OLS Model: \n")
  print(x$result)
}

Try the ArfimaMLM package in your browser

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

ArfimaMLM documentation built on May 2, 2019, 2:18 a.m.