https://github.com/cran/bayestestR
Tip revision: 6acd4f1707b182a2cbe2f4a4c2d4196571d36eb3 authored by Dominique Makowski on 05 December 2020, 08:30:02 UTC
version 0.8.0
version 0.8.0
Tip revision: 6acd4f1
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)
}