R/print.method.crtpwr.R

Defines functions print.crtpwr

#' A print method for crtpwr objects
#' 
#' @param x A crtpwr object
#' 
#' @param ... Other arguments passed to the function 
#'
#' @noRd
print.crtpwr <- function(x, ...) {
  cat(paste0("\n", x[['overview']], "\n"))
  cat(paste0("\nPower Estimate (alpha = ", x[['alpha']], "):\n"))
  print(x[['power']], row.names = FALSE)
  cat("\n")
}

Try the clusterPower package in your browser

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

clusterPower documentation built on Jan. 29, 2021, 1:06 a.m.