broom: An R Package for Converting Statistical Analysis Objects Into Tidy Data Frames
David Robinson

TL;DR
The broom package in R converts complex model outputs into tidy data frames, facilitating easier analysis, visualization, and manipulation within the tidy data framework.
Contribution
It introduces the broom package with the tidy, augment, and glance generics, enabling systematic conversion of model objects into tidy data frames.
Findings
Enables analysis of subset data using tidy tools
Allows recombination of bootstrap results
Supports simulation studies with tidy data frames
Abstract
The concept of "tidy data" offers a powerful framework for structuring data to ease manipulation, modeling and visualization. However, most R functions, both those built-in and those found in third-party packages, produce output that is not tidy, and that is therefore difficult to reshape, recombine, and otherwise manipulate. Here I introduce the broom package, which turns the output of model objects into tidy data frames that are suited to further analysis, manipulation, and visualization with input-tidy tools. Broom defines the "tidy", "augment" and "glance" generics, which arrange a model into three levels of tidy output respectively: the component level, the observation level, and the model level. I provide examples to demonstrate how these generics work with tidy tools to allow analysis and modeling of data that is divided into subsets, to recombine results from bootstrap…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsData Analysis with R · Soil Geostatistics and Mapping · Data Mining Algorithms and Applications
