R/shrinkem.print.R

Defines functions summary.shrinkem print.shrinkem

#' @method print shrinkem
#' @export
print.shrinkem <- function(x,
                      ...){

  cat("Call:")
  cat("\n")
  print(x$call)

  cat("\n")

  digits <- 3

  print(round(x$estimates,digits))

}


#' @method summary shrinkem
#' @export
summary.shrinkem <- function(object,
                     ...){

  cat("Call:")
  cat("\n")
  print(object$call)

  cat("\n")

  digits <- 3

  print(round(object$estimates,digits))

}

Try the shrinkem package in your browser

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

shrinkem documentation built on Oct. 5, 2024, 5:06 p.m.