Convert statistical analysis objects from R into tidy format
glance.ergm
related to handling of MCMC details.tidy.epi.2by2
that resulted in errors with new version of epiR
(#1028
by @nt-williams
)exponentiate
argument to tidy.gam()
tidier applicable for parametric terms (#1013
by @ddsjoberg
)exponentiate
argument to tidy.negbin()
tidier (#1011
by @ddsjoberg
)spdep
tidiers following breaking changes in the most recent releaseaugment
tidiers resulting in .fitted
and .se.fit
array columns.y
non-numeric after tidy_xyz
(#973
by @jiho
)MASS:glm.nb
(#998
by @joshyam-k
)tidy.fixest
that sometimes prevented arguments like se
from being used (#1001
by @karldw
)tidy.fixest
that resulted in errors when columns with name x
are present (#1007
by @grantmcdermott
)gamlss
tidiers in favor of those provided in broom.mixed
nnet::multinom
tidier in the case that the response
variable has only two levels (#993
by @vincentarelbundock
and @hughjonesd
)survival
releasebroom 0.7.4 introduces tidier support for a number of new model objects and improves functionality of many existing tidiers!
Rchoice
objects (#961
by @vincentarelbundock
and @Nateme16
)car::leveneTest
(#968
by @vincentarelbundock
and @mkirzon
)cmprsk::crr
(#971
and #552
by @vincentarelbundock
and @margarethannum
)augment()
method for gam
objects (#975
and #645
by @vincentarelbundock
)vars
objects (#979
and #161
by @vincentarelbundock
and @Diego-MX
)This release also restores tidiers for felm
objects from the lfe
package, which was recently unarchived from CRAN.
tidy.emmGrid
can now return std.error
and conf.*
columns at the same time. (#962
by @vincentarelbundock
and @jmbarbone
)tidy.garch
can now produce confidence intervals (#964
by @vincentarelbundock
and @IndrajeetPatil
)tidy.coxph
can now report confidence intervals on models utilizing penalized/clustering terms (#966
by @vincentarelbundock
and @matthieu-faron
)augment.lm
now works when some regression weights are equal to zero (#965
by @vincentarelbundock
and @vnijs
)tidy.coxph
can now handle models utilizing penalized/clustering terms (#966
and #969
by @vincentarelbundock
, @matthieu-faron
, and @KZARCA
)tidy.speedglm
on R 4.0.0+ (#974
by @uqzwang
)#977
and #666
by @vincentarelbundock
and @atyre2
)In broom 0.7.0
, we introduced an error for model objects that subclassed lm
and relied on tidy.lm()
, or similarly for tidy.glm()
. Tidiers for these objects were supported unintentionally, and we worried that tidiers for these objects would silently report innaccurate results.
In hindsight, this change was unnecessarily abrupt. We've decided to roll back this change, instead providing the following warning before allowing such objects to fall back to the lm
/glm
tidier methods:
Tidiers for objects of class {subclass} are not maintained by the broom team, and are only supported through the {dispatched method} tidier method. Please be cautious in interpreting and reporting broom output."
In addition,
summary.lm
objects (#953
by @grantmcdermott
)lfe
package, which was archived from CRAN.0.7.0
, we introduced an error for objects that subclassed
lm
and relied on tidy.lm()
. We've transitioned this error to a warning.While broom 0.7.1 is a minor release, it includes a number of exciting new features and bug fixes!
margins
objects. (#700
by @grantmcdermott
)mlogit
objects (#887
by @gregmacfarlane
)glance.coeftest()
method (#932
by @grantmcdermott
)One of the more major improvements in this release is the addition of the
interval
argument to some augment
methods for confidence, prediction,
and credible intervals. These columns will be consistently labeled .lower
and .upper
! (#908
by @grantmcdermott
, #925
by @bwiernik
)
In addition...
glance.aov()
method to include an r.squared
column!glance.survfit()
now passes ...
to summary.survfit()
to allow for
adjustment of RMST and other measures (#880
by @vincentarelbundock
)glm
and lm
now error
more informatively.newdata
warning message in augment.*()
output when the newdata
didn't contain the response variable—augment methods no longer expect the
response variable in the supplied newdata
argument. (#897
by @rudeboybert
)tidy.geeglm()
not being sensitive to the
exponentiate
argument (#867
)augment.fixest()
returning residuals in the .fitted
column. The
method also now takes a type.residuals
argument and defaults to the same
type.predict
argument as the fixest
predict()
method. (#877
by @karldw
)tidy.felm
confidence interval bug. Replaces "robust" argument with
"se.type". (#919
by @grantmcdermott
; supersedes #818
by @kuriwaki
)tidy.drc()
where some term labels would result
in the overwriting of entries in the curve
column (#914
)tidy.zoo()
(#916
by @WillemVervoort
)tidy.prcomp()
assigning the wrong PC labels from "loadings"
and "scores" matrices (#910
by @tavareshugo
)tidy.polr()
bug where p-values could only be returned if
exponentiate = FALSE
.We followed through with the planned deprecation of character vector tidiers in this release. Other vector tidiers that were soft-deprecated in 0.7.0 will be fully deprecated in a later release.
broom 0.7.0 is a major release with a large number of new tidiers, improvements to internal consistency, and deprecations of functions and arguments. See the package NEWS for more information!
See NEWS