Reshaping Data with the reshape Package
Hadley Wickham
Journal of Statistical Software, 2007, vol. 021, issue i12
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.
Date: 2007-11-13
References: View complete reference list from CitEc
Citations: View citations in EconPapers (79)
Downloads: (external link)
https://www.jstatsoft.org/index.php/jss/article/view/v021i12/v21i12.pdf
https://www.jstatsoft.org/index.php/jss/article/do ... reshape_0.8.0.tar.gz
https://www.jstatsoft.org/index.php/jss/article/do ... v021i12/v21i12.R.zip
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:jss:jstsof:v:021:i12
DOI: 10.18637/jss.v021.i12
Access Statistics for this article
Journal of Statistical Software is currently edited by Bettina Grün, Edzer Pebesma and Achim Zeileis
More articles in Journal of Statistical Software from Foundation for Open Access Statistics
Bibliographic data for series maintained by Christopher F. Baum ().