https://github.com/cran/bayestestR
Tip revision: d8462ad2168ad7ee61c0d7e679174e775f01a9be authored by Dominique Makowski on 18 January 2020, 07:10:02 UTC
version 0.5.0
version 0.5.0
Tip revision: d8462ad
print.mhdior.R
#' @export
print.mhdior <- function(x, digits = 2, ...) {
if ("data_plot" %in% class(x)) {
print(as.data.frame(x))
} else if ("data.frame" %in% class(x)) {
insight::print_color("# Max HDI inside/outside ROPE (MHDIOR)\n\n", "blue")
print_data_frame(x, digits = digits)
} else {
cat(sprintf("MHDIOR = %.*f%%", digits, x * 100))
}
}