List of regression models to table

Hi,

I'm looking for a way how to create a table summarising regression models like the one below from a list of regression models.

one option

library(tidyverse)
library(magrittr)
mydata <- tribble(  ~ " ", ~ something, ~ anotherthing,
          "somestat", "124\n**","999\n***",
          "anothstat", "321\n*","0.9\n****")
  
  library(flextable)
  ft <- flextable(mydata)
  ft  %<>% bold(part="header" ,i = 1)
  ft %<>% flextable::add_header_lines("some header")
  ft %<>% flextable::add_footer_lines("some footer")
  ft

image

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.