Skip to content

Commit

Permalink
add colformat_sci() to tabularise_default.data.frame()
Browse files Browse the repository at this point in the history
  • Loading branch information
GuyliannEngels committed Jun 10, 2024
1 parent 2384e99 commit e1e4215
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions R/tabularise_default.R
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,11 @@ tabularise_default.data.frame <- function(data, formula = NULL,
if (isTRUE(auto.labs)) {
align(res, align = "center", part = "header") |>
valign(valign = "bottom", part = "header") |>
autofit()
autofit() -> res
} else {
autofit(res)
res <- autofit(res)
}
colformat_sci(res)
}

#' @export
Expand Down

0 comments on commit e1e4215

Please sign in to comment.