Published by the Foundation for Open Access Statistics Editors-in-chief: Bettina Grün, Torsten Hothorn, Rebecca Killick, Edzer Pebesma, Achim Zeileis    ISSN 1548-7660; CODEN JSSOBK
Authors: Hadley Wickham
Title: The Split-Apply-Combine Strategy for Data Analysis
Abstract: Many data analysis problems involve the application of a split-apply-combine strategy, where you break up a big problem into manageable pieces, operate on each piece independently and then put all the pieces back together. This insight gives rise to a new R package that allows you to smoothly apply this strategy, without having to worry about the type of structure in which your data is stored.

The paper includes two case studies showing how these insights make it easier to work with batting records for veteran baseball players and a large 3d array of spatio-temporal ozone measurements.

Page views:: 189537. Submitted: 2009-09-24. Published: 2011-04-07.
Paper: The Split-Apply-Combine Strategy for Data Analysis     Download PDF (Downloads: 209714)
plyr_1.4.1.tar.gz: R source package Download (Downloads: 3239; 509KB)
v40i01.R: R example code from the paper Download (Downloads: 5437; 8KB)
ozone-map.R: Supplementary R code for ozone map Download (Downloads: 3812; 1KB)
timings.R: Supplementary R code for timing comparisons Download (Downloads: 3673; 1KB)

DOI: 10.18637/jss.v040.i01

This work is licensed under the licenses
Paper: Creative Commons Attribution 3.0 Unported License
Code: GNU General Public License (at least one of version 2 or version 3) or a GPL-compatible license.