Bold or unbold variable labels for fmt_table1 objects in Rmarkdown

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

Arguments

x

fmt_table1 object

...

further arguments passed to or from other methods

Examples

trial %>% fmt_table1() %>% bold_labels()
#> #> 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