Revision 645c10f110efae44c5ac60025664cd27f2b46a87 authored by Dominique Makowski on 26 March 2020, 05:10:08 UTC, committed by cran-robot on 26 March 2020, 05:10:08 UTC
1 parent 2565fc8
Raw File
print.point_estimate.R
#' @export
print.point_estimate <- 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("# Point Estimates\n\n", "blue")
    print_data_frame(x, digits = digits)
  } else {
    x
  }
}
back to top