Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support new statistical models #329

Closed
vincentarelbundock opened this issue Jul 5, 2021 · 4 comments
Closed

Support new statistical models #329

vincentarelbundock opened this issue Jul 5, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@vincentarelbundock
Copy link
Owner

Feature request: Support new statistical models

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:

https://vincentarelbundock.github.io/modelsummary/articles/modelsummary.html#adding-new-models-part-i-

@vincentarelbundock vincentarelbundock added the enhancement New feature or request label Jul 5, 2021
@vincentarelbundock vincentarelbundock pinned this issue Jul 5, 2021
@Nelson-Gon

This comment was marked as outdated.

@vincentarelbundock

This comment was marked as outdated.

@Nelson-Gon

This comment was marked as outdated.

@vincentarelbundock
Copy link
Owner Author

This is now requested much less often since we rely on parameters and performance. I will close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants