If the top row of a header column is blank, you may experience printing issues when using knitr::kable

# S3 method for fmt_regression
modify_header(x, label = NULL, est = NULL,
  ci = NULL, pvalue = NULL, ...)

Arguments

x

fmt_regression object

label

string vector including text to appear above the label column

est

string vector including text to appear above the estimate/coefficient column

ci

string vector including text to appear above the confidence interval column

pvalue

string vector including text to appear above the p-value column

...

further arguments passed to or from other methods

Examples

lm(hp ~ mpg + factor(cyl), mtcars) %>% fmt_regression() %>% modify_header(label = "Characteristic")
#> #> Characteristic Coefficient 95% CI p-value #> mpg -3.33 -7.70, 1.04 0.13 #> factor(cyl) #> 4 Ref. #> 6 16.6 -30.9, 64.1 0.5 #> 8 88.1 29.1, 147 0.005