Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Jun 29, 2023
1 parent c4b8139 commit efb0cab
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions R/format.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ format.describe_posterior <- function(x,
attributes(x) <- utils::modifyList(att, attributes(x))
}

# sanity check
if (is.null(digits)) {
digits <- 2
}

# format columns and values of data frame
out <- insight::format_table(x, digits = digits, format = format, ...)

Expand Down

0 comments on commit efb0cab

Please sign in to comment.