R/print.robmed.R

Defines functions print.robmed

print.robmed <- function(x,...)
{
  cat("Call:\n")
  print(x$call)
  
  cat("\nMediated effect:", round(x$ab.est, 4), "\n")
  cat("Confidence interval:", round(x$CI.ab, 4), "\n")
  cat("p-value:", round(x$p.value, 4), "\n")
  cat("\n")
}

Try the WRS2 package in your browser

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

WRS2 documentation built on March 19, 2024, 3:08 a.m.