amrei-stammann / alpaca

An R-package for fitting glm's with high-dimensional k-way fixed effects
43 stars 6 forks source link

Broom functions #10

Closed zauster closed 4 years ago

zauster commented 4 years ago

This PR includes (a first working version of) the tidy/augment/glance methods for feglm objects. These functions are needed for converting objects from statistical analyses into formats that are amenable for further processing. See https://github.com/tidymodels/broom E.g. the modelsummary package uses broom for creating regression tables: https://github.com/tidymodels/broom.

I had to include the generics package as additional imports, otherwise the S3 dispatch would not work.