Published by the Foundation for Open Access Statistics
Editors-in-chief: Bettina GrĂ¼n, Edzer Pebesma & Achim Zeileis    ISSN 1548-7660; CODEN JSSOBK
Reshaping Data with the reshape Package | Wickham | Journal of Statistical Software
Authors: Hadley Wickham
Title: Reshaping Data with the reshape Package
Abstract: This paper presents the reshape package for R, which provides a common framework for many types of data reshaping and aggregation. It uses a paradigm of 'melting' and 'casting', where the data are 'melted' into a form which distinguishes measured and identifying variables, and then 'cast' into a new shape, whether it be a data frame, list, or high dimensional array. The paper includes an introduction to the conceptual framework, practical advice for melting and casting, and a case study.

Page views:: 98524. Submitted: 2007-02-25. Published: 2007-11-13.
Paper: Reshaping Data with the reshape Package     Download PDF (Downloads: 99136)
Supplements:
reshape_0.8.0.tar.gz: R source package Download (Downloads: 2646; 38KB)
v21i12.R.zip: v21i12.R: R code with extended examples from the paper Download (Downloads: 3546; 1KB)

DOI: 10.18637/jss.v021.i12

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