Revision d2eac42f58e4e0f0d07298e8c2e719ef6a30672d authored by Dominique Makowski on 19 June 2020, 08:00:07 UTC, committed by cran-robot on 19 June 2020, 08:00:07 UTC
1 parent 01482dc
Raw File
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