An important release of `modelsummary` just hit CRAN. This `R` package helps you build tables to summarize your statistical models. Yeah yeah, I know: tons of other packages can do that. So why should you try this particular one?! (Thread) https://vincentarelbundock.github.io/modelsummary/ 
Before we get going, let's install version 0.3.0: install.packages("modelsummary") Done? Great! You now have the power to create PDF/LaTeX tables like this one:
Here's a similar HTML version. The cool thing is that both of those tables were created entirely programmatically. No manual editing whatsoever! `modelsummary` is both easy to use and super flexible.
modelsummary can do this by leveraging the awesome work of the R community. gt and kableExtra give us *endless* ways to customize how our tables look. broom allows modelsummary to support dozens of statistical models. Thanks to @riannone @haozhu233 @alexpghayes @drob , etc !!
Of course, just because you *can* customize doesn't mean you *should*. Don't do this at home.
Whether you want to publish on the web or on paper, `modelsummary` can help you out. It supports a bunch of output formats: HTML, LaTeX, PDF, RTF (MS Word-Compatible), Text/Markdown, Images (.png, .jpg).
Rmarkdown: It Just Work™. `modelsummary` tables in .Rmd files will compile out-of-the-box to HTML, PDF, or RTF (a MS Word-compatible format). Try this minimal example! (It works great in LaTeX too.)
The package plays well with RStudio. Your table appears automagically in the Viewer window as soon as you call `msummary()`.
If you're a terminal person like me (vim >>> emacs), don't worry, we've got you covered:
`modelsummary` includes a ton of powerful and (I think) innovative ways to customize a table. Rename, reorder, or subset params and statistics. Add column/row groups, titles, notes or significance stars. You can even do tricky stuff like combine estimates from multiple imputation
Want to try it out? Check out the fancy new `pkgdown` website: https://vincentarelbundock.github.io/modelsummary 
Oh, did I miss the hashtag? #RStats
You can follow @VincentAB.
Tip: mention @twtextapp on a Twitter thread with the keyword “unroll” to get a link to it.

Latest Threads Unrolled: