R/print.jstest.R

Defines functions print.jstest

#' @export

print.jstest <- function(x, ...){

  TestMatrix <-  matrix(c(x$test_statistic,
                          x$p_value),
                        ncol = 2, nrow = 1, byrow = T)
  colnames(TestMatrix) <- c("Test statistic", "p-value")
  rownames(TestMatrix) <- ""
  cat("\n")
  printCoefmat(TestMatrix, has.Pvalue = T)
}
alexanderlange53/svars documentation built on Jan. 31, 2023, 7:50 a.m.