vincentarelbundock / modelsummary

Beautiful and customizable model summaries in R.
http://modelsummary.com
Other
896 stars 74 forks source link

`shape` wide: column span for GOF #769

Closed vincentarelbundock closed 1 month ago

vincentarelbundock commented 1 month ago

https://stackoverflow.com/a/78513652/342331

vincentarelbundock commented 1 month ago

This is probably very hard to implement, except perhaps in tinytable. This doesn't quite work:

modelsummary(results,
    statistic = c("OR", "std.error"),
    shape = term ~ model + statistic) |>
    tinytable::style_tt(i = 4, j = 2, colspan = 3, align = "c") |>
    tinytable::style_tt(i = 4, j = 6, colspan = 3, align = "c")
vincentarelbundock commented 1 month ago

Hard + Niche. Won't fix but would be happy to review a pull request.