- Changed the deprecated
dplyr::failwithtopurrr::possibly augmentandglanceon NULLs now return an empty data frame- Deprecated the
inflate()function in favor oftidyr::crossing - Fixed confidence intervals in the gmm tidier (thanks to #242 from David Hugh-Jones)
- Fixed a bug in bootstrap tidiers (thanks to #167 from Jeremy Biesanz)
- Fixed tidy.lm with
quick = TRUEto return terms as character rather than factor (thanks to #191 from Matteo Sostero) - Added tidiers for
ivregobjects from the AER package (thanks to #245 from David Hugh-Jones) - Added tidiers for
survdiffobjects from the survival package (thanks to #147 from Michał Bojanowski) - Added tidiers for
emmeansfrom the emmeans package (thanks to #252 from Matthew Kay) - Added tidiers for
speedlmandspeedglmfrom the speedglm package (thanks to #248 from David Hugh-Jones) - Added tidiers for
muhazobjects from the muhaz package (thanks to #251 from Andreas Bender) - Added tidiers for
decomposeandstlobjects from stats (thanks to #165 from Aaron Jacobs)
- Added tidiers for
lsmobjandref.gridobjects from the lsmeans package - Added tidiers for
betaregobjects from the betareg package - Added tidiers for
lmRobandglmRobobjects from the robust package - Added tidiers for
brmsobjects from the brms package (thanks to #149 from Paul Buerkner) - Fixed tidiers for orcutt 2.0
- Changed
tidy.glmnetto filter out rows where estimate == 0. - Updates to
rstanarmtidiers (thanks to #177 from Jonah Gabry) - Fixed issue with survival package 2.40-1 (thanks to #180 from Marcus Walz)
- Added AppVeyor, codecov.io, and code of conduct
- Changed name of "NA's" column in summaryDefault output to "na"
- Fixed
tidy.TukeyHSDto includetermcolumn. Also addedseparate.levelsargument, with option to separatecomparisonintolevel1andlevel2 - Fixed
tidy.manovato use correct column name for test (previously, alwayspillai) - Added
kde_tidiersto tidy kernel density estimates - Added
orcutt_tidiersto tidy the results ofcochrane.orcuttorcutt package - Added
tidy.distto tidy the distance matrix output ofdistfrom the stats package - Added
tidyandglanceforlmodel2objects from the lmodel2 package - Added tidiers for
poLCAobjects from the poLCA package - Added tidiers for sparse matrices from the Matrix package
- Added tidiers for
prcompobjects - Added tidiers for
Mclustobjects from the Mclust package - Added tidiers for
acfobjects - Fixed to be compatible with dplyr 0.5, which is being submitted to CRAN
- Added tidiers for geeglm, nlrq, roc, boot, bgterm, kappa, binWidth, binDesign, rcorr, stanfit, rjags, gamlss, and mle2 objects.
- Added
tidymethods for lists, including u, d, v lists fromsvd, and x, y, z lists used byimageandpersp - Added
quickargument totidy.lm,tidy.nls, andtidy.biglm, to create a smaller and faster version of the output. - Changed
rowwise_df_tidiersto allow the original data to be saved as a list column, then provided as a column name toaugment. This required removingdatafrom theaugmentS3 signature. Also addedtests-rowwise.R - Fixed various issues in ANOVA output
- Fixed various issues in lme4 output
- Fixed issues in tests caused by dev version of ggplot2
- Added tidiers for "plm" (panel linear model) objects from the plm package.
- Added
tidy.coeftestfor coeftest objects from the lmtest package. - Set up
tidy.lmto work with "mlm" (multiple linear model) objects (those with multiple response columns). - Added
tidyandglancefor "biglm" and "bigglm" objects from the biglm package. - Fixed bug in
tidy.coxphwhen one-row matrices are returned - Added
tidy.power.htest - Added
tidyandglanceforsummaryDefaultobjects - Added tidiers for "lme" (linear mixed effects models) from the nlme package
- Added
tidyandglanceformultinomobjects from the nnet package.
- Fixed bug in
tidy.pairwise.htest, which now can handle cases where the grouping variable is numeric. - Added
tidy.aovlistmethod. This addedstringrpackage to IMPORTS to trim whitespace from the beginning and end of thetermandstratumcolumns. This also required adjustingtidy.aovso that it could handle strata that are missing p-values. - Set up
glance.lmto work withaovobjects along withlmobjects. - Added
tidyandglancefor matrix objects, withtidy.matrixconverting a matrix to a data frame with rownames included, andglance.matrixreturning the same result asglance.data.frame. - Changed DESCRIPTION Authors@R to new format
- Fixed small bug in
felmwhere the.fittedand.residcolumns were matrices rather than vectors. - Added tidiers for
rlm(robust linear model) andgam(generalized additive model) objects, including adjustments to "lm" tidiers in order to handle them. See?rlm_tidiersand?gam_tidiersfor more. - Removed rownames from
tidy.cv.glmnetoutput
-
The behavior of
augment, particularly with regard to missing data and thena.excludeargument, has through the use of theaugment_columnsfunction been made consistent across the following models:lmglmnlsmerMod(lme4)survreg(survival)coxph(survival)
Unit tests in
tests/testthat/test-augment.Rwere added to ensure consistency across these models. -
tidy,augmentandglancemethods were added forrowwise_dfobjects, and are set up to apply across their rows. This allows for simple patterns such as:regressions <- mtcars %>% group_by(cyl) %>% do(mod = lm(mpg ~ wt, .)) regressions %>% tidy(mod) regressions %>% augment(mod)See
?rowwise_df_tidiersfor more. -
Added
tidyandglancemethods forArimaobjects, andtidyforpairwise.htestobjects. -
Fixes for CRAN: change package description to title case, removed NOTES, mostly by adding
globals.Rto declare global variables. -
This is the original version published on CRAN.
- Tidiers have been added for S3 objects from the following packages:
lme4glmnetsurvivalzoofelmMASS(ridgelmobjects)
tidyandglancemethods for data.frames have also been added, andaugment.data.frameproduces an error (rather than returning the same data.frame).stderrorhas been changed tostd.error(affects many functions) to be consistent with broom's naming conventions for columns.- A function
bootstraphas been added based on this example, to perform the common use case of bootstrapping models.
- Added "augment" S3 generic and various implementations. "augment" does something different from tidy: it adds columns to the original dataset, including predictions, residuals, or cluster assignments. This was originally described as "fortify" in ggplot2.
- Added "glance" S3 generic and various implementations. "glance" produces a one-row data frame summary, which is necessary for tidy outputs with values like R^2 or F-statistics.
- Re-wrote intro broom vignette/README to introduce all three methods.
- Wrote a new kmeans vignette.
- Added tidying methods for multcomp, sp, and map objects (from fortify-multcomp, fortify-sp, and fortify-map from ggplot2).
- Because this integrates substantial amounts of ggplot2 code (with permission), added Hadley Wickham as an author in DESCRIPTION.