jacob-long / jtools

Tools for summarizing/visualizing regressions and other helpful stuff
https://jtools.jacob-long.com
GNU General Public License v3.0
165 stars 22 forks source link

Removing NA Fixed Effects in plot_summs #103

Closed ECon87 closed 4 months ago

ECon87 commented 3 years ago

Is your feature request related to a problem? Please describe.

I run a regression with multiple fixed effects using as_factor(fe.Var) but one of them is dropped (I excluded the intercept). I thought the plot_coefs method would work if I defined a broom::tidy object (removing NA) but it didn't.

Describe the solution you'd like

An option that allows NA rows. I get error that the existing and assigned data don't match. An option in the plot_summs method would be nice.

Describe any alternatives or other implementations that you might know of

I could parse out the fixed effects and re-run the model. But I wish to avoid the extra step.

Thanks.

jacob-long commented 2 years ago

I was thinking it wouldn't have any NA in this scenario. Do you have a reproducible example?