Bold or unbold variable levels for fmt_table1 objects in Rmarkdown

# S3 method for fmt_table1
bold_levels(x, ...)

Arguments

x

fmt_table1 object

...

further arguments passed to or from other methods

Examples

trial %>% fmt_table1() %>% bold_levels()
#> #> Variable N = 200 #> Treatment Randomization #> __Drug__ 107 (54%) #> __Placebo__ 93 (46%) #> Age, yrs 47 (38, 57) #> __Unknown__ 8 #> Marker Level, ng/mL 0.68 (0.22, 1.42) #> __Unknown__ 8 #> T Stage #> __T1__ 51 (26%) #> __T2__ 49 (24%) #> __T3__ 42 (21%) #> __T4__ 58 (29%) #> Grade #> __I__ 67 (34%) #> __II__ 58 (29%) #> __III__ 75 (38%) #> Tumor Response 82 (43%) #> __Unknown__ 9