https://github.com/cran/bayestestR
Revision 40f7c88ddf855896018cf20ec8a7ac5fbd0ea2fb authored by Dominique Makowski on 27 January 2020, 05:30:28 UTC, committed by cran-robot on 27 January 2020, 05:30:28 UTC
1 parent d8462ad
Tip revision: 40f7c88ddf855896018cf20ec8a7ac5fbd0ea2fb authored by Dominique Makowski on 27 January 2020, 05:30:28 UTC
version 0.5.1
version 0.5.1
Tip revision: 40f7c88
print.p_map.R
#' @export
print.p_map <- function(x, digits = 3, ...) {
if ("data_plot" %in% class(x)) {
print(as.data.frame(x))
} else if ("data.frame" %in% class(x)) {
insight::print_color("# MAP-based p-value\n\n", "blue")
print_data_frame(x, digits = digits)
} else {
cat(sprintf("p (MAP) = %.*f", digits, x))
}
}
Computing file changes ...