R/print.sc_pem.R

Defines functions print.sc_pem

Documented in print.sc_pem

#' @rdname print.sc
#' @export
#' 
print.sc_pem <- function(x, ...) {
  cat("Percent Exceeding the Median\n\n")
  print(x$PEM, digits = 3, row.names = FALSE)
  cat("\n")
  if (x$decreasing) {
    cat("Assumed decreasing values in the B-phase.\n\n")
    cat("Alternative hypothesis: true probability < 50%\n")
  } else {
    cat("Alternative hypothesis: true probability > 50%\n")
  }
}
jazznbass/scan_develop documentation built on Sept. 9, 2024, 6:23 a.m.