R/print.onesampb.R

Defines functions print.onesampb

print.onesampb <- function(x,...) {
  cat("Call:\n")
  print(x$call)
  cat("\n")
  cat("Robust location estimate:", round(x$estimate, 4), "\n")
  cistr <- paste0(1-x$alpha, "% confidence interval:")
  cat(cistr, round(x$ci, 4), "\n")
  cat("p-value:", round(x$p.value, 4), "\n\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.