modelsummary: Data and Model Summaries in R

被引:59
作者
Arel-Bundock, Vincent [1 ]
机构
[1] Univ Montreal, Sci Polit, Pavillon Lionel Groulx,3150 Rue Jean Brillant, Montreal, PQ H3T 1N8, Canada
关键词
tables; data summary; model summary; crosstab; regression table; coefficient plot; R;
D O I
10.18637/jss.v103.i01
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
modelsummary is a package to summarize data and statistical models in R. It supports over one hundred types of models out-of-the-box, and allows users to report the results of those models side-by-side in a table, or in coefficient plots. It makes it easy to execute common tasks such as computing robust standard errors, adding significance stars, and manipulating coefficient and model labels. Beyond model summaries, the package also includes a suite of tools to produce highly flexible data summary tables, such as dataset overviews, correlation matrices, (multi-level) cross-tabulations, and balance tables (also known as "Table 1"). The appearance of the tables produced by modelsummary can be customized using external packages such as kableExtra, gt, flextable, or huxtable; the plots can be customized using ggplot2. Tables can be exported to many output formats, including HTML, LATEX, Text/Markdown, Microsoft Word, Powerpoint, Excel, RTF, PDF, and image files. Tables and plots can be embedded seamlessly in rmarkdown, knitr, or Sweave dynamic documents. The modelsummary package is designed to be simple, robust, modular, and extensible.
引用
收藏
页码:1 / 23
页数:23
相关论文
共 29 条
[1]   Furniture for Quantitative Scientists [J].
Barrett, Tyson S. ;
Brignone, Emily .
R JOURNAL, 2017, 9 (02) :142-148
[2]  
Blair Graeme, 2024, CRAN, DOI 10.32614/CRAN.package.estimatr
[3]  
Bonferroni C., 1936, PUBBLICAZIONI R I SU, V8, P3, DOI DOI 10.4135/9781412961288.N455
[4]  
Bryan Jennifer, 2024, CRAN
[5]  
Couch Simon, 2024, CRAN
[6]  
Elff M, 2021, **DATA OBJECT**
[7]  
Gmez-Rubio V., 2017, J. Stat. Softw, V77, P1, DOI [DOI 10.18637/JSS.V077.B02, 10.18637/jss.v077.b02, DOI 10.18637/JSS.V035.B01]
[8]  
Gohel D, 2022, **DATA OBJECT**
[9]  
Hlavac Marek, 2022, CRAN
[10]  
HOLM S, 1979, SCAND J STAT, V6, P65