| Authors: | Hadley Wickham |
| Title: | [download] (52259)Reshaping Data with the reshape Package |
| Reference: | Vol. 21, Issue 12, Nov 2007 Submitted 2007-02-25, Accepted 2007-09-15 |
| Type: | Article |
| 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. |
| Paper: | [download] (52259)Reshaping Data with the reshape Package (application/pdf, 618.2 KB) |
| Supplements: | [download] (1928)reshape_0.8.0.tar.gz: R source package (application/x-gzip, 38.7 KB) |
| [download] (2531)v21i12.R: R code with extended examples from the paper (application/x-zip-compressed, 1.8 KB) |
|
| Resources: | BibTeX | OAI |
