https://github.com/cran/bayestestR
Tip revision: 1b89ec86b6a914c4d45bee998d08eed1ef23f57f authored by Dominique Makowski on 20 July 2020, 08:30:03 UTC
version 0.7.2
version 0.7.2
Tip revision: 1b89ec8
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)
}