Skip to content

Releases: tidymodels/broom

Version 0.3.4: NA-handling in augment; rowwise tidying

24 Nov 00:02
Compare
Choose a tag to compare
  • The behavior of augment, particularly with regard to missing data and the na.exclude argument, has through the use of the augment_columns function been made consistent across the following models:

    • lm
    • glm
    • nls
    • merMod (lme4)
    • survreg (survival)
    • coxph (survival)

    Unit tests in tests/testthat/test-augment.R were added to ensure consistency across these models.

  • tidy, augment and glance methods were added for rowwise_df objects, 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_tidiers for more.

  • Added tidy and glance methods for Arima objects, and tidy for pairwise.htest objects.

  • Fixes for CRAN: change package description to title case, removed NOTES, mostly by adding globals.R to declare global variables.

  • This is the original version published on CRAN.

Version 0.3: tidiers for lme4, glmnet, survival, and more

19 Oct 15:45
Compare
Choose a tag to compare
  • Tidiers have been added for S3 objects from the following packages:
    • lme4
    • glmnet
    • survival
    • zoo
    • felm
    • MASS (ridgelm objects)
  • tidy and glance methods for data.frames have also been added, and augment.data.frame produces an error (rather than returning the same data.frame).
  • stderror has been changed to std.error (affects many functions) to be consistent with broom's naming conventions for columns.
  • A function bootstrap has been added based on this example, to perform the common use case of bootstrapping models.

Version 0.2: augment and glance

16 Sep 20:12
Compare
Choose a tag to compare

This release introduces the augment and glance generics, while the original included only tidy. The three methods are explained in the vignettes, and the changes to the package in the NEWS file.

First release

12 Sep 13:09
Compare
Choose a tag to compare

Initial public release.