https://github.com/cran/bayestestR
Revision 01482dc32c49cc56111762e704c854b5f287966a authored by Dominique Makowski on 20 April 2020, 05:10:28 UTC, committed by cran-robot on 20 April 2020, 05:10:28 UTC
1 parent 645c10f
Raw File
Tip revision: 01482dc32c49cc56111762e704c854b5f287966a authored by Dominique Makowski on 20 April 2020, 05:10:28 UTC
version 0.6.0
Tip revision: 01482dc
print.map_estimate.R
#' @export
print.map_estimate <- function(x, ...) {
  orig_x <- x
  if (inherits(x, "data.frame")) {
    print.data.frame(x)
  } else {
    cat(sprintf("MAP = %.2f", x))
  }
  invisible(orig_x)
}
back to top