Package: modelsummary 2.2.0

modelsummary: Summary Tables and Plots for Statistical Models and Data: Beautiful, Customizable, and Publication-Ready

Create beautiful and customizable tables to summarize several statistical models side-by-side. Draw coefficient plots, multi-level cross-tabs, dataset summaries, balance tables (a.k.a. "Table 1s"), and correlation matrices. This package supports dozens of statistical models, and it can produce tables in HTML, LaTeX, Word, Markdown, PDF, PowerPoint, Excel, RTF, JPG, or PNG. Tables can easily be embedded in 'Rmarkdown' or 'knitr' dynamic documents. Details can be found in Arel-Bundock (2022) <doi:10.18637/jss.v103.i01>.

Authors:Vincent Arel-Bundock [aut, cre, cph], Joachim Gassen [ctb], Nathan Eastwood [ctb], Nick Huntington-Klein [ctb], Moritz Schwarz [ctb], Benjamin Elbers [ctb], Grant McDermott [ctb], Lukas Wallrich [ctb]

modelsummary_2.2.0.tar.gz
modelsummary_2.2.0.zip(r-4.5)modelsummary_2.2.0.zip(r-4.4)modelsummary_2.2.0.zip(r-4.3)
modelsummary_2.2.0.tgz(r-4.4-any)modelsummary_2.2.0.tgz(r-4.3-any)
modelsummary_2.2.0.tar.gz(r-4.5-noble)modelsummary_2.2.0.tar.gz(r-4.4-noble)
modelsummary_2.2.0.tgz(r-4.4-emscripten)modelsummary_2.2.0.tgz(r-4.3-emscripten)
modelsummary.pdf |modelsummary.html
modelsummary/json (API)
NEWS

# Install 'modelsummary' in R:
install.packages('modelsummary', repos = c('https://vincentarelbundock.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/vincentarelbundock/modelsummary/issues

On CRAN:

64 exports 906 stars 8.96 score 22 dependencies 2 dependents 4.3k scripts 11.2k downloads

Last updated 15 days agofrom:0600663210. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 02 2024
R-4.5-winOKSep 02 2024
R-4.5-linuxOKSep 02 2024
R-4.4-winOKSep 02 2024
R-4.4-macOKSep 02 2024
R-4.3-winOKSep 02 2024
R-4.3-macOKSep 02 2024

Exports:AllAllObsArgumentscoef_renamecolLabelsconfig_modelsummarydatasummarydatasummary_balancedatasummary_correlationdatasummary_correlation_formatdatasummary_crosstabdatasummary_dfdatasummary_skimDropEmptydsummarydvnamesFactorfmt_decimalfmt_equivalencefmt_scifmt_significantfmt_sprintffmt_statisticfmt_termFormatget_estimatesget_gofglanceglance_customgof_mapHeadingHistogramlabelSubsetMaxMeanMedianMinmodelplotmodelsummarymodelsummary_widemsummaryMulticolumnNNcolNPercentNUniqueP0P100P25P50P75PastePercentPercentMissingPlusMinusRowFactorrowLabelsRowNumSDsupported_modelstidytidy_customupdate_modelsummaryVar

Dependencies:backportsbase64encbayestestRcheckmatedata.tabledatawizarddigestevaluatefastmapgenericsgluehighrhtmltoolsinsightknitrparametersperformancerlangtablestinytablexfunyaml

Readme and manuals

Help Manual

Help pageTopics
Rename model termscoef_rename
Persistent user settings for the 'modelsummary' packageconfig_modelsummary
Summary tables using 2-sided formulae: crosstabs, frequencies, table 1s and more.datasummary
Balance table: Summary statistics for different subsets of the data (e.g., control and treatment groups)datasummary_balance
Generate a correlation table for all numeric variables in your dataset.datasummary_correlation
Format the content of a correlation tabledatasummary_correlation_format
Cross tabulations for categorical variablesdatasummary_crosstab
Draw a table from a data.framedatasummary_df
Quick overview of numeric or categorical variablesdatasummary_skim
Title models with their dependent variablesdvnames
Rounding with decimal digits in the 'fmt' argumentfmt_decimal
Rounding with number of digits determined by an equivalence testfmt_equivalence
Rounding using scientific notationfmt_sci
Rounding with significant digits in the 'fmt' argumentfmt_significant
Rounding with the 'sprintf()' function in the 'fmt' argumentfmt_sprintf
Rounding with decimal digits on a per-statistic basis in the 'fmt' argument for 'modelsummary()'fmt_statistic
Rounding with decimal digits on a per-term basis in the 'fmt' argument for 'modelsummary()'fmt_term
Extract model estimates in a tidy format.get_estimates
Extract goodness-of-fit statistics a tidy format.get_gof
Data.frame used to clean up and format goodness-of-fit statisticsgof_map
Model Summary Plots with Estimates and Confidence Intervalsmodelplot
Model Summary Tablesmodelsummary
Update 'modelsummary' and its dependenciesupdate_modelsummary