powered by
fmt_regression
If the top row of a header column is blank, you may experience printing issues when using knitr::kable
knitr
kable
# S3 method for fmt_regression modify_header(x, label = NULL, est = NULL, ci = NULL, pvalue = NULL, ...)
fmt_regression object
string vector including text to appear above the label column
string vector including text to appear above the estimate/coefficient column
string vector including text to appear above the confidence interval column
string vector including text to appear above the p-value column
further arguments passed to or from other methods
# NOT RUN { lm(hp ~ mpg + factor(cyl), mtcars) %>% fmt_regression() %>% modify_header(label = "Characteristic") # }
Run the code above in your browser using DataLab