bold_p.fmt_table1: Bold or unbold p-values for 'fmt_table1' objects in Rmarkdown

Description Usage Arguments Examples

Description

Bold or unbold p-values for fmt_table1 objects in Rmarkdown

Usage

1
2
## S3 method for class 'fmt_table1'
bold_p(x, t = 0.05, q = FALSE, ...)

Arguments

x

fmt_table1 object

t

Determines the threshold below which p-values get bolded. Default is 0.05.

q

logical argument. When TRUE will bold or unbold the q-value column rather than the p-values

...

further arguments passed to or from other methods

Examples

1
trial %>% fmt_table1(by = "trt") %>% add_comparison() %>% bold_p()

ddsjoberg/gtsummary-v0.1 documentation built on June 4, 2019, 7:48 a.m.