Home > Mobile >  supress confidence interval footnote in tbl_regression
supress confidence interval footnote in tbl_regression

Time:12-08

I am using tbl_regression from the gtsummary package. When generating an output table from linear regression there is a 1CI = Confidence Interval footnote appearing in the bottom row.

Is there a way to supress this footnote in tbl_regression?

CodePudding user response:

Use modify_footnote(everything() ~ NA, abbreviation = TRUE) to delete abbrev. footnotes

library(dplyr)
library(gtsummary)

my_table <-
  lm(mpg ~ disp, mtcars) %>%
  tbl_regression(exponentiate = FALSE) %>%
  modify_footnote(everything() ~ NA, abbreviation = TRUE)
my_table

enter image description here

  • Related