R/print.assoctest.R

Defines functions print.assoctest

Documented in print.assoctest

print.assoctest <-
function(x, ...)
{
  cat("\n", "\t", x$name, "\n\n")
  cat("Info:", "\n")
  print(x$args, quote=FALSE, print.gap=2)
  cat("\n")
  if (length(x) == 5) {
    if ("signs" %in% names(x) || "set" %in% names(x)) {
      print(round(unlist(x[1:2]), 6), print.gap=3)
    } else {
      print(round(unlist(x[1:3]), 6), print.gap=3)
    }
  } else print(round(unlist(x[1:2]), 6), print.gap=3)
  invisible(x)
}

Try the AssotesteR package in your browser

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

AssotesteR documentation built on May 2, 2019, 3:55 a.m.