How can I obtain literal curly brackets in tbl_summary?
Here is what I tried:
> gtsummary::tbl_summary(mtcars,statistic = all_continuous() ~ "\\makecell{{{mean}}}")
Error in `gtsummary::tbl_summary()`:
! Problem with the `statistic` argument.
Error converting string "{{mean" to a function.
ℹ Is the name spelled correctly and available?
Run `rlang::last_trace()` to see where the error occurred.
At last it was implemented in this PR.
Here is the result of the previous code:
gtsummary::tbl_summary(mtcars,
statistic = gtsummary::all_continuous() ~ "\\makecell{{{mean}}}")