fsolt / dotwhisker

Dot-and-Whisker Plots of Regression Results
https://fsolt.org/dotwhisker/
Other
57 stars 10 forks source link

`polr` result cannot normally pass through #75

Closed sammo3182 closed 3 years ago

sammo3182 commented 6 years ago

Problem comes from the dw_tidy function to replicate

family.polr <- function(object,...) NULL
tidy.polr <- broom:::tidy.lm

without broom:::

fsolt commented 6 years ago

Is the issue that broom::tidy() doesn't yet support polr? The only current mention I find of polr in tidyverse/broom is here in the tidier for rstanarm output. If that's right, I suggest that the polr-tidying code in dw_tidy shouldn't really be there at all, but instead should be drafted for submission to broom.