Formats a tidy results tibble for publication-ready reporting, with options for rounding, confidence interval formatting, and column selection.
Usage
format_results(
results,
digits = 2,
ci_format = c("parens", "brackets", "dash"),
pval_digits = 3,
include_se = FALSE
)Arguments
- results
A tibble from
tidy_pool_obj()orcombine_results().- digits
Integer specifying the number of decimal places for estimates. Default is 2.
- ci_format
Character string specifying CI format. Options are: "parens" for "(LCI, UCI)", "brackets" for "\[LCI, UCI\]", or "dash" for "LCI - UCI". Default is "parens".
- pval_digits
Integer specifying decimal places for p-values. Default is 3.
- include_se
Logical indicating whether to include standard error column. Default is FALSE.
See also
tidy_pool_obj()to create tidy resultscombine_results()to combine multiple analyses