News
2.5.0
- Quarto: better format detection when users explicitly use
output="tinytable". Thanks to @mvuorre for report [#886](https://github.com/vincentarelbundock/modelsummary//issues/886). - More flexible in allowing duplicate labels with
coef_renamewhen users specifycomponentin theshapeargument. Thanks to @raffaem for report [#892](https://github.com/vincentarelbundock/modelsummary//issues/892). - Miscellaneous docs improvements.
flextableoutput useshlineinstead ofborder. This fixes report [#693](https://github.com/vincentarelbundock/modelsummary//issues/693) from theflextableGithub issue tracker. Thanks to @davidgohel for the fix.- Result of
get_estimates(),get_gof()andmodelsummary()gets a “backend” attribute with info about the extraction method. Thanks to @raffaem for contribution [#914](https://github.com/vincentarelbundock/modelsummary//issues/914). - Result of
get_estimates()andget_gof()gets a “backend” attribute with info about the extraction method. Thanks to @raffaem for contribution [#914](https://github.com/vincentarelbundock/modelsummary//issues/914). - Update to
tinytable0.13.0, which fixes Issue [#912](https://github.com/vincentarelbundock/modelsummary//issues/912). flextable: Added support for spanning headers inmodelsummary(),datasummary(), and other functions, matching the functionality available intinytable.- Dispersion parameters are no longer exponentiated when
exponentiate=TRUE. Thanks to @raffaem for report [#896](https://github.com/vincentarelbundock/modelsummary//issues/896).
2.4.0
New:
add_rows: The position of new rows can be set using a “position” attribute. Previously, this only accepted integers. Now we accept string shortcuts:attr(new_rows, "coef_start")attr(new_rows, "coef_end")attr(new_rows, "gof_start")attr(new_rows, "gof_end")
- Allow
tinytable-style note specification:notes=list(a = list(i = 0:1, j = 1, text = "Blah.")). Thanks to @sverrirarnors for feature request [#867](https://github.com/vincentarelbundock/modelsummary//issues/867). exponentiate=TRUEno longer exponentiates parameters that are marked as “random” in the “effect” column when callingget_estimates(). Thanks to @orvaquim for report [#878](https://github.com/vincentarelbundock/modelsummary//issues/878).
Bug:
modelplot()acceptslinewidthargument. Thanks to @trekonom for report [#861](https://github.com/vincentarelbundock/modelsummary//issues/861).- Misplaced horizontal rule with
add_rows. Thanks to @judgelord for report [#875](https://github.com/vincentarelbundock/modelsummary//issues/875). - Fixed but in
fmt_equivalence(). Thanks to Nicholas Astier for the report and bugfix. - Rolled back the change about centering GOF in dot-aligned columns. This created many problems with inconsistent font display. The alternative solution with
tinytable::style_tt()is now documented in a the Themes and Styles vignette. - Custom stars did not work in
datasummary_correlation(). Thanks to @mvuorre for report [#860](https://github.com/vincentarelbundock/modelsummary//issues/860).
2.3.0
Breaking change:
modelsummary(models, shape = "rbind")does not insert panel names by default. Instead, the panel names are taken from the names of the top level list of lists. Thanks to @raffaem for feature request [#849](https://github.com/vincentarelbundock/modelsummary//issues/849).
Bugs:
- Stars note in
kableExtraescaped\num{}in LaTeX. - Bad horizontal rule placement with
add_rows. Thanks to @pyoungblood for Issue [#813](https://github.com/vincentarelbundock/modelsummary//issues/813). shapecreates bad columns when model names include spaces. Thanks to @daSilva5 for report [#816](https://github.com/vincentarelbundock/modelsummary//issues/816).- Center align GOF in dot-aligned columns. Thanks to @svraka for report [#827](https://github.com/vincentarelbundock/modelsummary//issues/827).
- Weights, blocks, and clusters ignored by
datasummary_balance(). Thanks to @kleuveld for report [#840](https://github.com/vincentarelbundock/modelsummary//issues/840).
New features:
- Nearly all arguments can now be set using global options.
- Support for variable labels supplied by the
labelledandsjlabelledpackages. - Negative sign is displayed in front of rounded decimal figures like 0.00. Thanks to @ktheile for feature request [#849](https://github.com/vincentarelbundock/modelsummary//issues/849).
2.2.0
- Bump minimum version requirement for
tinytable,parameters, andinsightdependencies. coef_rename()gets apoly=TRUEargument to renamepoly(x, 2)-style coefficients. Thanks to @mccarthy-m-g for code contribution [#778](https://github.com/vincentarelbundock/modelsummary//issues/778).get_gof():logLikcolumn converted to numeric for consistent types. Issue 649 reported on themiceGithub.kableExtraupdate thesiunitxcommands fordcolumns.kableExtraescapes footnotes in HTML whenoutput="kableExtra"). Thanks to @dmurdoch and @michaelherndon97 for report [#793](https://github.com/vincentarelbundock/modelsummary//issues/793).- New
fmt_equivalence()function to implement the rounding suggestion of Astier & Wolak (2024). Thanks to Nicolas Astier for code prototype. - Fix partial match warnings for some
datasummary_*()tables. No change in behavior. Thanks to @fkohrt for report [#804](https://github.com/vincentarelbundock/modelsummary//issues/804).
Bugs:
- Stars footnotes get properly escaped in some LaTeX configurations. Thanks to @etiennebacher for report [#798](https://github.com/vincentarelbundock/modelsummary//issues/798).
datasummary_*()functions can be called as arguments in anotherdatasummary_*()arguments, likeadd_columns. Thanks to @mronkko for report [#799](https://github.com/vincentarelbundock/modelsummary//issues/799)
2.1.1
- Documentation improvements
- Warning when users use
captioninstead oftitle. Inconsistency with respect totinytable. - Improved documentation for
titleargument. htestworkaround.
Bugs:
datasummary_correlation()respects theescapeargument. Issue [#772](https://github.com/vincentarelbundock/modelsummary//issues/772).datasummary_correlation()supportsdata.tableobjects. Issue [#771](https://github.com/vincentarelbundock/modelsummary//issues/771).
2.1.0
New:
modelsummary()gets agof_functionargument which accepts functions to extract custom information from models.flextable: Support spanning column headersdatasummary_correlation()gets astarargument.datasummary_correlation()accepts objects produced by thecorrelationpackage.datasummary_balance():formulacan now include variables on the left-hand side to indicate the subset of columns to summarize:datasummary_balance(mpg + hp ~ am, data = mtcars)Thanks to @etiennebacher for feature request [#751](https://github.com/vincentarelbundock/modelsummary//issues/751).- Unnecessary text printed to screen on some F sta computations is now suppressed.
- Update to
tinytable0.3.0
Bugs:
escapeargument not respected indatasummary_df(). Thanks to @adamaltmejd for report [#740](https://github.com/vincentarelbundock/modelsummary//issues/740)datasummary_correlation()supportsdata.table. Thanks to volatilehead on Twitter for report [#737](https://github.com/vincentarelbundock/modelsummary//issues/737).- Accepts named
estimateargument when using shape and statistics are horizontal. Thanks to @iago-pssjd for report [#745](https://github.com/vincentarelbundock/modelsummary//issues/745). - Labelled values but no label for variable broke
datasummary(). Thanks to @marklhc for report [#752](https://github.com/vincentarelbundock/modelsummary//issues/752). coef_mapdoes not work when there is agroup. Thanks to @mccarthy-m-g for report [#757](https://github.com/vincentarelbundock/modelsummary//issues/757).kableExtra: fix spanning column headers when using theshapeargument.- Multiple footnotes and line breaks in footnotes are now allowed in
tinytableoutput. Thanks to
2.0.0
MAJOR BREAKING CHANGE: The default output format is now tinytable instead of kableExtra. Learn more about tinytable here:
https://vincentarelbundock.github.io/tinytable/
To revert to the previous behavior persistently, users can call:
library(modelsummary) config_modelsummary(factory_default = “kableExtra”)
Other breaking changes:
- The
statistic_overrideargument was replaced byvcovover 1 year ago, with appropriate deprecation warnings. It is now fully removed. - The
groupargument was replaced byshapeseveral releases ago. It is now fully removed. datasummary_skim()- histograms are only available with the
tinytablebackend. This allows a lot of code simplification and more customization. - The order of arguments
typeandoutputis switched for consistency with other functions. histogramargument is deprecated.
- histograms are only available with the
New features:
datasummary_skim():- New
type="all"by default to display both numeric and categorical variables in a single table with distinct panels. This feature is only available with thetinytablebackend (default). byargument allows summarizing numeric variables by group.fun_numericargument accepts a list of functions to control the summary columns.
- New
modelsummary():statisticandestimatecan be specified as named vectors to control the names of statistics when displayed in different columns using theshapeargument. (Thanks to @mps9506 for bug report [#722](https://github.com/vincentarelbundock/modelsummary//issues/722))modelsummary(panels, shape = "cbind")automatically adds column-spanning labels whenpanelsis a named nested list of models.
config_modelsummary()gets astartup_messageargument to silence the startup message persistently.- Improved documentation and vignettes, providing clearer instructions and examples.
- Updated tests and snapshots to ensure reliability and consistency across changes.
Bug fixes:
- Fixed Issue [#399](https://github.com/vincentarelbundock/modelsummary//issues/399): datasummary_balance() siunitx formatting.
- Fixed Issue [#782](https://github.com/vincentarelbundock/modelsummary//issues/782): Useless warning in some
modelplot()calls. Thanks to @iago-pssjd for the report and @florence-laflamme for the fix. - Addressed various bugs and made optimizations for better performance and user experience.
1.4.5
tinytablesupports histograms indatasummary_skim()config_modelsummary()supportstinytablefactory.
1.4.4
- Support the
tinytablepackage as an output format (“factory”): https://vincentarelbundock.github.io/tinytable/ - Quarto:
mdoutput format is recognized. options(modelsummary_factory_default)is respected, even in qmd->md documents.
Bugs:
- Some omitted coefficients with
I()operator in formulas. Issue [#693](https://github.com/vincentarelbundock/modelsummary//issues/693).
1.4.3
Misc:
- Duplicate values in
shapegroups are removed automatically for cleaner labels. - “Title” line no longer indented in markdown tables. Thanks to Ryan Briggs for report [#671](https://github.com/vincentarelbundock/modelsummary//issues/671).
Bugs:
- Small p values were not displayed properly in HTML output using
kableExtra. Issue [#669](https://github.com/vincentarelbundock/modelsummary//issues/669).
1.4.2
New:
- Minimal support for
Typstoutput, with auto-detection in Quarto documents. stripargument indvnames.s.valuestatistic is now available wheneverp.valueis available. See Greenland (2019).datasummary_skim()now includes histograms ingttables.
Bugs:
- GOF term names get escaped in LaTeX. Thanks to @shreyasgm for reviving Issue [#546](https://github.com/vincentarelbundock/modelsummary//issues/546).
- Conflict with
furrrgenerated errors for some models. Thanks to @sammo3182 for Issue [#647](https://github.com/vincentarelbundock/modelsummary//issues/647).
1.4.1
New:
fmt_sci()can now be used in thefmtargument for rounding with scientific notation.
Bugs:
- Group separators respect
add_rowswithshape="rbind". Thanks to @lrose1 for Report [#626](https://github.com/vincentarelbundock/modelsummary//issues/626). - Bad column with horizontal models in
shapeand grouped estimates. Thanks to @iago-pssjd for Report [#631](https://github.com/vincentarelbundock/modelsummary//issues/631). coef_rename=TRUEbug with grouped estimates. Thanks to @iago-pssjd for Report [#631](https://github.com/vincentarelbundock/modelsummary//issues/631).- Upstream issue [#881](https://github.com/vincentarelbundock/modelsummary//issues/881) in
parametersmeant thatvcovwas no longer used for confidence intervals.
1.4.0
- Built-in support for markdown tables.
- Package no longer depends on
kableExtra. Recommends an additional install for other formats. - Persistent configuration of default output format:
config_modelsummary(factory_default = "gt") shape = "rcollapse"andshape = "rbind"glance_custom()can drop GOF by assigningNA: https://stackoverflow.com/questions/75215355/assigning-different-coefficient-names-and-goodness-of-fit-statistics-to-differen- When a
statisticis not available,modelsummaryprints an empty cell instead of returning an error. - “” works in
titleeven whenescape=TRUE - Multiple
fixest_multiobjects supported. options(modelsummary_future = FALSE)disablesfutureparallelism.
Bug fixes:
statistic=NULLis now respected whenshape="rbind". Thanks to Panos Mavros for report [#620](https://github.com/vincentarelbundock/modelsummary//issues/620).get_estimates()supportsvcovstring shortcuts and formulas. Thanks to @ethans-carl for report [#605](https://github.com/vincentarelbundock/modelsummary//issues/605).- Quarto and Rmarkdown documents include
situnixin header automatically for decimal alignement withalign="ddd" escapeis now respected bymodelsummarywithshape="rbind". Thanks to @chickymonkeys for report [#622](https://github.com/vincentarelbundock/modelsummary//issues/622).
1.3.0
Breaking change:
- The default column label style in
modelsummary()has changed from “Model 1” to “(1)”. The benefits are: labels are no longer in English by default; use less horizontal space; eliminate the “Model” redundancy. Unfortunately, this could break code in some edge cases where users rely on column names to manipulate tables. The old behavior can be restored by calling:options(modelsummary_model_labels="model")
New features:
shape="rbind"to stack multiple regression tables and create “panels” with labelled groups of models.fmt: new helper functions for different formatting stylesfmt = fmt_decimal(2): decimal digitsfmt = fmt_decimal(digits = 2, pdigits = 4): decimal digits with p value-specific settingfmt = fmt_sprintf("%.3f"):sprintf()decimalfmt = fmt_sprintf("%.3e"):sprintf()scientificfmt = fmt_significant(3): significant digitsfmt = fmt_statistic("estimate" = 2, "std.error" = 3): statistic-specific formattingfmt = fmt_term("(Intercept)" = 2, "hp" = 3): term-specific formattingfmt = fmt_identity(): raw values
- New styles for default column labels in
modelsummary, such as Roman Numerals or letters in parentheses.- Set the style with a global option:
options(modelsummary_model_labels = "roman") - Supported styles: “model”, “arabic”, “letters”, “roman”, “(arabic)”, “(letters)”, “(roman)””
- Set the style with a global option:
modelplot(draw = FALSE)now returns ap.valuecolumn. This allows conditional aesthetics (see themodelplotvignette).- Better integration with the
marginaleffectspackage.
Bugs:
- Some
fixestmodels returns useless “group.x” and “group.y” columns. Isse [#591](https://github.com/vincentarelbundock/modelsummary//issues/591). Thanks to Adam Altmejd for the report.
1.2.0
Breaking change:
- With the
shapeandoutput="dataframe"arguments, there always used to be agroupcolumn. Now, this column has the same name as the variable in theshapeformula (“response”, “component”, etc.).
New features:
shapecan include multiple groups.coef_renamecan be an unnamed vector of length equal to the number of terms in the final table, obtained aftercoef_mapandcoef_omitare applied and models are merged.coef_omitaccepts numeric indices. Positive values: coefficients to omit. Negative values: coefficients to keep.datasummary_skim: Increased maximum number of variables to 250.- Quarto notebooks compile to Word and Markdown automatically.
Bug fixes:
- Order of notes preserved in some output format (Issue [#577](https://github.com/vincentarelbundock/modelsummary//issues/577))
1.1.0
Breaking change:
- Requires
siunitxversion 3.0.25 LaTeX package. - The
titleargument now respects theescapeargument for allkableExtraoutput formats. This can break tables in which users manually escaped titles.
New features:
- “d” is accepted for decimal-alignment in the
alignargument for alloutputformats.modelsummary(mod, align = "ld") - New
update_modelsummary()function makes it easy to install the dev versions ofmodelsummaryand its dependencies (mostly useful for Vincent and people who report bugs). - Rounding: display at least one significant digit by default.
- Automatic renaming of
havenlabels inmodelsummary(),datasummary(),datasummary_skim() - Allow
output = "filename.csv" - Allow
output = "filename.xlsx" add_columnsargument supported inmodelsummary()datasummary_balancesupports thestarsargument.- Allow stars and confidence intervals with
align = "d"column.
Bug fixes:
- In some locales, the HTML minus sign created problems in the output. We only use it in “known” locales.
- Many minor bug fixes
1.0.2
- Minor release to fix CRAN failure
1.0.1
shapeargument accepts interactions with the colon “:” character. This combines two columns into one, which can be useful to display terms and group names in a single column.- Parallelization using
parallel::mclapply. See?modelsummary modelsummaryno longer computes confidence intervals when not necessary, which can save some time. Also see:conf_level=NULL- Added log likelihood to GOF for lm and glm models.
- Removed extraneous warnings
- Bug fixes
1.0.0
This first major release accompanies the publication of an article in the Journal of Statistical Software:
Arel-Bundock, Vincent (2022). “modelsummary: Data and Model Summaries in R.” Journal of Statistical Software, 103(1), 1-23. doi:10.18637/jss.v103.i01 https://doi.org/10.18637/jss.v103.i01.’
If you like modelsummary, please cite the JSS article and tell your friends about it.
Minor changes:
gof_map="all"includes all available statistics.gof_map="none"excludes all statistics.- Bug fixes
0.11.1
- Better printout for term names in mixed-effects models
- {brms} and {stanreg} models now extracted with
diagnostic=NULLandtest=NULLby default for speed.
0.11.0
Breaking changes:
modelsummary_wideis no longer available. Use theshapeargument ofmodelsummaryinstead.modelsummarynow uses theeasystatspackages (performanceandparameters) to extract estimates and goodness-of-fit statistics instead ofbroom. This can be reverted by setting a global option:options(modelsummary_get="broom"). This change aims to (1) increase consistency across models, (2) improve the developers’ ability to push bug fixes upstream when necessary, and (3) improve support for mixed effects, bayesian, and GAM models. The two main drawbacks are: (a) The set of printed statistics may be slightly different from previous versions ofmodelsummary(b) The group identifiers used in theshapeformula will also be different for certain models (e.g., innnet::multinom,y.levelbecomesresponse).
New features:
- The
shapeargument accepts a formula and can reshape information in myriad ways. Deprecates thegroupargument. Examples:~ statistic: statistics are shown horizontally in distinct columns.model ~ term: models in rows and terms in columns.term + y.level + statistic ~ model: grouped coefficients for multivariate outcome innnet::multinomy.level ~ model: partial match is the same as the previous formula
- Format distinct statistics differently by passing a named list to
fmt:modelsummary(mod, fmt = list(estimate = 2, std.error = 1, rmse = 4))
- Use
glueto apply functions to numeric values by settingfmt = NULL. Example:modelsummary(model, fmt = NULL, estimate = "{log(estimate)}")
- Update for breaking changes after fixest 0.10.4
Bug fixes:
group_maprename issue- Residual standard error mistakenly labelled “RMSE” in
lmmodels. datasummary_skimoutput to jpg should now worksescapefixes
0.10.0
- New
exponentiateargument formodelsummary()andmodelplot() gof_mapaccepts a vector such asc("rmse", "nobs", "r.squared")- Drop
rlangdependency - Bug fixes
0.9.6
datasummary_balance:
- Accepts
~ 1as a formula to summarize all data.
Misc:
- documentation improvements
- RMSE included by default in models of class
lm
0.9.5
modelsummary:
vcovstrings likeHC1andRobustare now case-insensitivegof_mapnow accepts a data.frame or tibble with afmtlist-column which includes functions (see Examples in docs)R2is no longer computed by default for bayesian and mixed effects models. An informative one-time warning is printed about themetricsargument.
datasummary_skim:
- Histograms now work in Jupyter
- Bugfix: harmless error message is no longer printed
kableExtra factory:
- The
col.namesargument can now be passed tokableExtra::kblthrough the … ellipsis.
Misc:
- Many small improvements to the vignettes and docs
output = "github_document"is now supported
0.9.4
- Bug fix: siunitx and rounding NA
0.9.3
modelsummary:
- F statistic takes into account
vcovargument - Support group = group ~ model + term
datasummary_balance:
- Weighted means and standard deviations are now supported. Counts and percentages are not, but raise a warning.
Misc:
- Bugfix: rounding in LaTeX w/ siunitx and NaN entries.
- output=‘jupyter’ no longer prints an extraneous TRUE to the notebook
0.9.2
modelsummary:
- Improved
vcovargument handling forfixestmodels (#357 by @grantmcdermott) - Fix display of
fixest::i()variables and interactions (#361 by @grantmcdermott) - Consistent display of clustered SEs (#356, [#363](https://github.com/vincentarelbundock/modelsummary//issues/363) and [#366](https://github.com/vincentarelbundock/modelsummary//issues/366) by @grantmcdermott)
datasummary_correlation:
add_rowsandadd_columnsarguments are now available here.
Misc:
- Global options for output factories are renamed:
modelsummary_factory_default,modelsummary_factory_html, etc. - Hot fix for change in R-devel behavior or
intersect
Bug fixes:
datasummary_balance: escape variable names whenescape=TRUE- Blogdown LaTeX dependency bug when output is HTML
0.9.1
Breaking change:
- Support for
dcolumnfor dot-aligned columns is deprecated. Use “d” in thealignargument instead.
Other changes:
- LaTeX output: Numeric entries are wrapped in the
\num{}function from thesiunitxpackage by default. This produces much nicer formatting. This can be disabled with a global option. See?modelsummary - The
alignargument accepts a “d” column for dot-alignment using thesiunitxLaTeX package:align="ldd". - HTML tables display proper minus signs.
- New
escapeargument in most table-building functions. - LaTeX output accepts the
threeparttable=TRUEargument through... - No more dependency on
tidyr
modelsummary:
group: The order of terms in the formula determines the order of rows/columns
modelsummary_wide:
- Note: This function will eventually be deprecated
- Bugfix with statistic=NULL.
modelplot:
- Preserves order of models in the user-supplied list
datasummary_crosstab:
statistic=NULLproduces a very basic crosstab
datasummary_crosstab:
- Default alignment “lrrrrr” consistent with other datasummary_* functions
0.8.1
modelsummary:
- Disable stars footnote with
options("modelsummary_stars_note" = FALSE) longtable=TRUEworks for LaTeX output- Interactions with “:” are no longer converted to “x” when
coef_maporcoef_renameare used. group = model ~ term + groupis now supported.
datasummary_skim:
datasummary_skim("categorical")keepsNAby default. Users can convert variables to factors before callingdatasummary_skimto excludeNA.
Other:
- Improved warnings for bad calls:
modelsummary(model1, model2) gttitles use the newcaptionargument in thegt 0.3.0function- Bug fix: Overaggressive tests for glue strings prevented functions inside {}
0.8.0
Breaking change:
- The default significance markers
stars=TRUEhave been updated to be consistent with the default output from base R (e.g., in summary.lm). The new significance thresholds are: “+” p < 0.1, “” p < 0.05, ”” p < 0.01, ”” p < 0.001
datasummary_crosstab:
- New function to produce cross-tabulations
datasummary:
Nis smart enough to return either the number of elements in a subset or the number of non-missing observations in a variable
datasummary_balance:
- Keeps
NAs in factor variables by default. Users can convert their variables with thefactor()function to omitNAs automatically.
modelsummary:
- themes can be set using global options (experimental)
- new vcov options: “bootstrap”, “HAC”, “NeweyWest”, “Andrews”, “panel-corrected”, “weave”, “outer-product”
- A valid
get_gof(glance) is now optional. - … is pushed through to
sandwich, which allows things like:modelsummary(model, vcov = "bootstrap", R = 1000, cluster = "firm")
Other:
- Jupyter notebook support via
output="jupyter" - Bug fixes
0.7.0
modelsummary:
- new arguments for
modelsummary:groupandgroup_mapfor grouped parameters (e.g., outcome levels in multinomial logit or components of gamlss model). dvnames()makes it easy to get dependent variable column titles (thanks to @NickCH-K)output="modelsummary_list"to save a lightweight list-based representation of the table which can be saved and fed tomodelsummaryonce more to get a full table.vcovadds a row to note the type of standard errors.modelsummaryaccepts a single model with multiplevcovs.get_gofforwards … tomodel_performancecoef_mapaccepts unnamed vectors for easy subsettingfixest::fixest_multisupportoptions(modelsummary_get)to set the order of extraction functions to use under the hood (broom vs. easystats vs. all)metricsargument ofperformance::model_performanceis available viamodelsummary’s … ellipsis to limit the GOF statistics in Bayesian models.- users can omit the stars legend note by using glue strings:
estimate="{estimate}{stars}" - output=“html” can use
gtby settingoptions(modelsummary_factory_html="gt")
datasummary_correlation:
- passes
...forward - new function:
datasummary_correlation_format datasummary_correlation’smethodargument accepts functions and “pearspear” (thanks to @joachim-gassen)
datasummary:
datasummaryfunctions androundingaccept …, big.mark, etc.
datasummary_skim:
- now works with haven_labeled numeric
- faster tables with bayesian models.
Bug fixes and lints
0.6.6
- new output format: latex_tabular
tidy_customallows partial term matchesmodelsummary(coef_rename)accepts functions- new function
coef_renamefor use inmodelsummary(coef_rename=coef_rename) modelplotacceptsadd_rowsto add reference categories- informative error message when estimate or statistic is not available
- bug fixes
0.6.5
statistic_overridebecomesvcov- vcov accepts shortcuts: “robust”, “stata”, “HC0”, etc.
- vcov accepts formulas for clustered SEs: ~group
- modelsummary_wide has a new “stacking” argument
- html horizontal rule to separate estimates form gof
- gof_map accepts list of lists. only needs 3 columns.
- support officedown Rmd
- estimate accepts a vector for per model estimates
- options(modelsummary_default) can be markdown, html, latex
- bug: passing arguments through …
- bug: stars and rounding
0.6.4
- glue format for
estimateandstatistic - easystats support for model info extraction
- deprecate statistic_vertical
- deprecate extract_models. Use modelsummary(output=“dataframe”) instead.
- modelplot pushes … through to modelsummary(output=“dataframe”)
- datasummary_skim(type=“dataset”)
- gof_map omits by default
- datasummary_balance uses row percentages
- statistic_override does not require a list
- statistic_override accepts a single model
- N function for well formatted N in datasummary
- Bug fixes
0.6.3
- new function: modelsummary_wide
- coef_omit and gof_omit use grepl(perl=TRUE)
- fmt accepts integer, string or function and respects options(OutDec=“,”)
- align argument for modelsummary
- align is more liberal to accept dcolumn alignment
- glance_custom methods for lfe and fixest
- bug fixes
0.6.2
- new argument: coef_rename
- new function: datasummary_df
- preserve term order in modelsummary
- refactor datasummary_balance
- datasummary_skim uses svg histograms instead of unicode
- removed 5 dependencies
- pass … to kableExtra::kbl for more customization
- test improvements
- internal code style
- bug fixes
0.6.1
- bug fixes
0.6.0
- default HTML output factory is now kableExtra
- interaction “:” gsubbed by “0d7”
- dependencies: removed 1 depends, 3 imports, and 3 suggests
- word_document knitr works out-of-the-box
- bug fixes
0.5.1
- glance_custom.fixest ships with modelsummary
0.5.0
0.4.1
- add_rows now accepts a data.frame with “position” and “section” columns
- add_rows_location is deprecated
- bug in sanity_output prevented overwriting files
0.4.0
- huxtable support
- flextable support
- estimate argument
- fixest tidiers
- website and vignette improvements
- gof_map additions
- glance_custom
- tidy_custom
0.3.0
- Out-of-the-box Rmarkdown compilation to HTML, PDF, RTF
- kableExtra output format for LaTeX and Markdown
- Support for
threeparttable, colors, and many other LaTeX options - Deprecated arguments: filename, subtitle
- Deprecated functions: clean_latex, knit_latex
pkgdownwebsite and doc improvementsmitoolstidiers- New tests
0.2.1
- Convenience function to render markdown in row/column labels
- bug: breakage when all GOF were omitted
- Clean up manual with @keywords internal
- bug: tidyr import
0.2.0
- gt is now available on CRAN
- new latex_env argument for knit_latex and clean_latex
- bug when all gof omitted
- bug in statistic_override with functions
- bug caused by upstream changes in tab_style
- bug caused by upstream changes in filename=‘rtf’
- Allow multiple rows of uncertainty estimates per coefficient
- Preserve add_rows order
- Display uncertainty estimates next to the coefficient with statistic_vertical = FALSE
- Better clean_latex function
- Can display R2 and confidence intervals for mice-imputed lm-models
- Internal functions have @keywords internal to avoid inclusion in docs
- Statistic override accepts pre-formatted character vectors
0.1.0
- Initial release (gt still needs to be installed from github)