Reshaping Data with the reshape Package
By Hadley Wickham. 2007
3,037 citations recorded by the source corpus.
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.
Subfields: Artificial Intelligence
View Paper: https://www.semanticscholar.org/paper/29d2ccf017409bb3c9048fcf84ea4dcc71061bd4
How researchers see this paper
The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.
In Artificial Intelligence
- P. De Boeck
- Euan Harvey
- J. Santana‐Garcon
- Jalal Al-Tamimi
- Ariadna Angulo-Brunet
- M. Masson
- S. Newman
- Javier Herrero
Citations in the corpus
- Two methods to find truth-value gaps and their application to the projection problem of homogeneity (2015, methodology): “(5)Graphs and statistics were created using the R programming language (R Core Team 2014) with the libraries ggplot2 (Wickham 2009), lme4 (Bates, Maechler, Bolker, and Walker 2014), reshape2 (Wickham 2007), and plyr (Wickham 2011).”
- deconstructSigs: delineating mutational processes in single tumors distinguishes DNA repair deficiencies and patterns of carcinoma evolution (2016, positive): “It also uses reshape2 [7] for plotting.”
- Data reuse and the open data citation advantage (2013, methodology): “Packages used included reshape2 (Wickham, 2007), plyr (Wickham, 2011), rms (Harrell, 2012), polycor (Fox, 2010), ascii (Hajage, 2011), ggplot2 (Wickham, 2009), gplots (Warnes et al.”
- Evaluating the Use of ABBA–BABA Statistics to Locate Introgressed Loci (2014, methodology): “This work was made possible by the free, open source software packages EggLib (De Mita and Siol 2012), phyclust (Chen 2011), R (R Core Team 2013), ggplot2 (Wickham 2009), plyr (Wickham 2011), reshape (Wickham 2007), and Inkscape (http://www.”
- IRTrees: Tree-Based Item Response Models of the GLMM Family (2012, methodology): “As a general tool to convert between long and wide form, we recommend package reshape (Wickham 2007).”
- Modulation of Myelopoiesis Progenitors Is an Integral Component of Trained Immunity (2018, positive): “…Prism 6 Graphpad Software N/A R version 3.3.2 R Development Core Team, 2016 https://www.r-project.org/ reshape2 package Wickham, 2007 https://cran.r-project.org/web/packages/ reshape2/index.html ggplot2 Wickham, 2009 http://ggplot2.org/ LipidXplorer Herzog et al.,…”
- Waste Not, Want Not: Why Rarefying Microbiome Data Is Inadmissible (2013, methodology): “These simulations, analyses, and graphics rely upon the cluster [54], foreach [55], ggplot2 [56], metagenomeSeq [40], phyloseq [32], plyr [57], reshape2 [58], and ROCR [59] R packages; in addition to the DESeq(2) [13], edgeR [41], and PoiClaClu [46] R packages for RNA-Seq data, and tools available i”
- How to explain and predict the shape parameter of the generalized extreme value distribution of streamflow extremes using a big dataset (2018, neutral): “…(Xie 2014, 2015, 2018), olsrr (Hebbali 2018), randomForest (Liaw and Wiener 2002; Breiman et al. 2018), readr (Wickham et al. 2017), relaimpo (Grömping 2007b, 2018), reshape2 (Wickham 2007, 2017), rmarkdown (Allaire et al. 2018), SpatialExtremes (Ribatet 2018), stringi (Gagolewski 2018).”
- A journey around alpha and omega to estimate internal consistency reliability (2017, methodology): “Phase 1, descriptive analysis, was conducted using the reshape2 (Wickham, 2007) and psych (Revelle, 2016) packages to calculate the response percentages, other descriptive statistics, and the Pearson or polychoric correlation coefficients when appropriate.”
- pophelper: an R package and web app to analyse and visualize population structure (2017, methodology): “The app makes use of several R packages such as fields (Nychka et al. 2015), RESHAPE 2 (Wickham 2007), MARK-DOWN (Allaire et al. 2015), GTABLE (Wickham 2012), GRIDEX-TRA (Auguie 2015), PLYR (Wickham 2011), DT (Xie 2015), SHINYACE (LLC. TTa 2013), RCHARTS (Vaidyanathan 2013) and SHINYJS (Attali 2015).”