添加链接
link之家
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

arXiv Is Hiring a DevOps Engineer

Work on one of the world's most important websites and make an impact on open science.

View Jobs We gratefully acknowledge support from the Simons Foundation, member institutions , and all contributors. Donate [Submitted on 11 Dec 2014 ( v1 ), last revised 19 Dec 2014 (this version, v2)]

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

View PDF 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 replicates, and to perform simulations that investigate the effect of varying input parameters.

Submission history

From: David Robinson [ view email ]
[v1] Thu, 11 Dec 2014 08:07:03 UTC (173 KB)
Fri, 19 Dec 2014 18:32:07 UTC (1,747 KB)
View a PDF of the paper titled broom: An R Package for Converting Statistical Analysis Objects Into Tidy Data Frames, by David Robinson
  • View PDF
  • TeX Source
  • Other Formats
  • view license Current browse context:
    stat.CO
    recent | 2014-12 Change to browse by: stat.ME

    arXivLabs: experimental projects with community collaborators

    arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

    Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

    Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs .