Bold or unbold variable labels for fmt_uni_regression objects in Rmarkdown

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

Arguments

x

fmt_uni_regression object

...

further arguments passed to or from other methods

Examples

trial %>% fmt_uni_regression( method = "glm", y = "response", method.args = list(family = binomial), exponentiate = TRUE ) %>% bold_labels()
#> #> Variable N OR 95% CI p-value #> __Treatment Randomization__ 191 #> Drug Ref. #> Placebo 0.47 0.26, 0.84 0.012 #> __Age, yrs__ 183 1.00 0.98, 1.02 >0.9 #> __Marker Level, ng/mL__ 183 0.92 0.65, 1.30 0.6 #> __T Stage__ 191 #> T1 Ref. #> T2 1.40 0.63, 3.14 0.4 #> T3 0.63 0.26, 1.50 0.3 #> T4 0.50 0.22, 1.11 0.089 #> __Grade__ 191 #> I Ref. #> II 0.60 0.29, 1.25 0.2 #> III 0.76 0.38, 1.51 0.4