You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
modelsummary does not extract estimates or statistical results from model objects itself. Instead, it relies on the broom and the parameters packages to do this work.
The broom package uses two simple functions to extract model info: tidy and glance. In an ideal world, the package maintainers for individual statistical models would supply these functions for their models. Many maintainers are already doing this, as tidy and glance look like an emerging "standard" in the community.
If the package maintainer is unwilling or unable to implement these functions, the next best option is to file requests on the Github pages of the broom and/or parameters packages to request support for the model in question. Obviously, the maintainers of broom and parameters packages are doing this for free, and their time is limited, so it's always a great idea to supply code if possible.
Finally, if you just want modelsummary to work immediately with your (previously unsupported) model, it is very easy to define tidy and glance methods that will do the work for you. This section of the documentation gives the intuition and a couple very simple examples:
Feature request: Support new statistical models
modelsummary
does not extract estimates or statistical results from model objects itself. Instead, it relies on thebroom
and theparameters
packages to do this work.The
broom
package uses two simple functions to extract model info:tidy
andglance
. In an ideal world, the package maintainers for individual statistical models would supply these functions for their models. Many maintainers are already doing this, astidy
andglance
look like an emerging "standard" in the community.If the package maintainer is unwilling or unable to implement these functions, the next best option is to file requests on the Github pages of the
broom
and/orparameters
packages to request support for the model in question. Obviously, the maintainers ofbroom
andparameters
packages are doing this for free, and their time is limited, so it's always a great idea to supply code if possible.Finally, if you just want
modelsummary
to work immediately with your (previously unsupported) model, it is very easy to definetidy
andglance
methods that will do the work for you. This section of the documentation gives the intuition and a couple very simple examples:https://vincentarelbundock.github.io/modelsummary/articles/modelsummary.html#adding-new-models-part-i-
The text was updated successfully, but these errors were encountered: