Open bbolker opened 6 years ago
I think it is generally ok, not to have the same columns for all tidies. I can assume, we will run across similar issues with other special columns, which might not be available / desired in all models. Take p-values as an example (not sure if they are anywhere in the tidiers): We could easily approximate p-values in Bayesian models, but most of Bayesians statisticians would be opposed to computing them at all.
I agree (although note that MCMCglmm
does provide p-values; I agree, I don't like them ...).
I mostly raised this because it reverses a presumably deliberate design choice made in the original broom
tidiers ...
I don't think there was a design decision here in broom
—I think it's just that for many models no df is reported because they are all 1. But, for example, tidy.aov()
does have a df
column (and a sumsq
and meansq
) column.
why not:
broom
tidiers (for whatever reason)why:
select(-df)
dplyr::bind_rows()
makes incommensurate columns in different sets of output fairly harmless