79764956

Date: 2025-09-15 09:32:59
Score: 2
Natty:
Report link

Thank you for the example @Vincent. However, when I run the code (a year later after the example was posted), the table float environment remains in the LaTex.

Instead the code needs to be slightly modiefied by adding output = "latex_tabular":

modelsummary(list(
  "(A)"=m1, 
  "(B)"=m2,
  "(C)"=m3),
  output ="latex_tabular"
   ) |>
  group_tt(j = list("Text" = 1, "More Text" = 2, "Some Other Text" = 3:4)) |>
  theme_tt("tabular") |>
  print("latex")
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Has code block (-0.5):
  • User mentioned (1): @Vincent
  • Low reputation (1):
Posted by: umor