Bold or unbold variable levels for fmt_regression objects in Rmarkdown

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

Arguments

x

fmt_regression object

...

further arguments passed to or from other methods

Examples

lm(hp ~ factor(cyl), mtcars) %>% fmt_regression() %>% bold_levels()
#> #> N = 32 Coefficient 95% CI p-value #> factor(cyl) #> __4__ Ref. #> __6__ 39.6 2.15, 77.1 0.039 #> __8__ 127 95.3, 158 <0.001