broom

Convert statistical analysis objects from R into tidy format

OTHER License

Downloads
670.5K
Stars
1.4K
Committers
148

Bot releases are visible (Hide)

broom - Broom 0.5.6

Published by alexpghayes over 4 years ago

See NEWS

broom - Broom 0.5.4

Published by alexpghayes over 4 years ago

See NEWS

broom - Broom 0.5.3

Published by alexpghayes almost 5 years ago

Minor updates to remain on CRAN after changes to matrix classing behavior in R 4.0.0

broom - Broom 0.5.2

Published by alexpghayes over 5 years ago

  • Users should notice no differences from previous releases
  • Fixes failing CRAN checks
  • Rewrite of tidy.ergm() internals for ergm 3.10
broom - Broom 0.5.1

Published by alexpghayes almost 6 years ago

Minor update to re-export tidy(), glance() and augment() from the generics package.

broom - Broom 0.5.0

Published by alexpghayes over 6 years ago

Details available at https://broom.tidyverse.org/news/. This commit is exactly the code in the CRAN 0.5.0 version of the package.

broom - Version 0.4.0: Many new tidiers; fixed issues in ANOVA and lme4

Published by dgrtwo almost 9 years ago

  • Added tidiers for geeglm, nlrq, roc, boot, bgterm, kappa, binWidth, binDesign, rcorr, stanfit, rjags, gamlss, and mle2 objects.
  • Added tidy methods for lists, including u, d, v lists from svd, and x, y, z lists used by image and persp
  • Added quick argument to tidy.lm, tidy.nls, and tidy.biglm, to create a smaller and faster version of the output.
  • Changed rowwise_df_tidiers to allow the original data to be saved as a list column, then provided as a column name to augment. This required removing data from the augment S3 signature. Also added tests-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.coeftest for coeftest objects from the lmtest package.
  • Set up tidy.lm to work with "mlm" (multiple linear model) objects (those with multiple response columns).
  • Added tidy and glance for "biglm" and "bigglm" objects from the biglm package.
  • Fixed bug in tidy.coxph when one-row matrices are returned
  • Added tidy.power.htest
  • Added tidy and glance for summaryDefault objects
  • Added tidiers for "lme" (linear mixed effects models) from the nlme package
  • Added tidy and glance for multinom objects from the nnet package.
broom - Version 0.3.6 Tidying for matrices, aovlist, and glance for aov

Published by dgrtwo over 9 years ago

  • Fixed bug in tidy.pairwise.htest, which now can handle cases where the grouping variable is numeric.
  • Added tidy.aovlist method. This added stringr package to IMPORTS to trim whitespace from the beginning and end of the term and stratum columns. This also required adjusting tidy.aov so that it could handle strata that are missing p-values.
  • Set up glance.lm to work with aov objects along with lm objects.
  • Added tidy and glance for matrix objects, with tidy.matrix converting a matrix to a data frame with rownames included, and glance.matrix returning the same result as glance.data.frame.
  • Changed DESCRIPTION Authors@R to new format
broom - Version 0.3.5: rlm and gam tidiers, fixed bugs in felm and cv.glmnet

Published by dgrtwo almost 10 years ago

  • Fixed small bug in felm where the .fitted and .resid columns were matrices rather than vectors.
  • Added tidiers for rlm (robust linear model) and gam (generalized additive model) objects, including adjustments to "lm" tidiers in order to handle them. See ?rlm_tidiers and ?gam_tidiers for more.
  • Removed rownames from tidy.cv.glmnet output
broom - Version 0.3.4: NA-handling in augment; rowwise tidying

Published by dgrtwo almost 10 years ago

  • 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.

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

Published by dgrtwo almost 10 years ago

  • 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.
broom - Version 0.2: augment and glance

Published by dgrtwo about 10 years ago

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.

broom - First release

Published by dgrtwo about 10 years ago

Initial public release.