https://github.com/cran/bayestestR
Raw File
Tip revision: 01482dc32c49cc56111762e704c854b5f287966a authored by Dominique Makowski on 20 April 2020, 05:10 UTC
version 0.6.0
Tip revision: 01482dc
print.point_estimate.R
#' @export
print.point_estimate <- function(x, digits = 2, ...) {
  orig_x <- x
  if ("data_plot" %in% class(x)) {
    print(as.data.frame(x))
  } else if ("data.frame" %in% class(x)) {
    insight::print_color("# Point Estimates\n\n", "blue")
    print_data_frame(x, digits = digits)
  } else {
    print(unclass(x))
  }
  invisible(orig_x)
}
back to top