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.
Keywords
Related Publications
dendextend: an R package for visualizing, adjusting and comparing trees of hierarchical clustering
Abstract Summary: dendextend is an R package for creating and comparing visually appealing tree diagrams. dendextend provides utility functions for manipulating dendrogram objec...
Array programming with NumPy
Array programming provides a powerful, compact and expressive syntax for accessing, manipulating and operating on data in vectors, matrices and higher-dimensional arrays. NumPy ...
MCMC Methods for Multi-Response Generalized Linear Mixed Models: The<b>MCMCglmm</b><i>R</i>Package
Generalized linear mixed models provide a flexible framework for modeling a range of data, although with non-Gaussian response variables the likelihood cannot be obtained in clo...
Geodesic Active Regions for Texture Segmentation
This paper proposes a framework for segmenting different textured areas over synthetic or real textured frames by curves propagation. We assume that the system has the ability t...
ape 5.0: an environment for modern phylogenetics and evolutionary analyses in R
Abstract Summary After more than fifteen years of existence, the R package ape has continuously grown its contents, and has been used by a growing community of users. The releas...
Publication Info
- Year
- 2007
- Type
- article
- Volume
- 21
- Issue
- 12
- Citations
- 2763
- Access
- Closed
External Links
Social Impact
Social media, news, blog, policy document mentions
Citation Metrics
Cite This
Identifiers
- DOI
- 10.18637/jss.v021.i12