2007
DOI: 10.18637/jss.v021.i12
|View full text |Cite
|
Sign up to set email alerts
|

Reshaping Data with thereshapePackage

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.

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

1
1,601
1
28

Year Published

2014
2014
2019
2019

Publication Types

Select...
9
1

Relationship

0
10

Authors

Journals

citations
Cited by 2,520 publications
(1,759 citation statements)
references
References 2 publications
1
1,601
1
28
Order By: Relevance
“…Other statistical analyses were performed using R version 3.2.3 [26] and additional R packages [27][28][29][30][31]. Surveys were analysed independently, except when stated otherwise.…”
Section: Methodsmentioning
confidence: 99%
“…Other statistical analyses were performed using R version 3.2.3 [26] and additional R packages [27][28][29][30][31]. Surveys were analysed independently, except when stated otherwise.…”
Section: Methodsmentioning
confidence: 99%
“…ArcGIS 10.3 was used to generate validation datasets, and Python was used for image processing (ESRI, 2014). Modelling and statistical analysis were conducted in R using the following packages: ggplot2 (Wickham, 2009), dplyr (Wickham and Francois, 2015), rasterVis (Perpinan and Hijmans, 2016), randomForest (Liaw and Wiener, 2002), reshape2 (Wickham, 2007), ROCR (Sing et al, 2005), SDMTools (VanDerWal et al, 2014), and spatial.tools (Greenberg, 2014).…”
Section: Analysis Toolsmentioning
confidence: 99%
“…We used R version 3.3.0 (Core Team 2016) with the following packages: data.table (Dowle and Srinivasan 2016), plyr (Wickham 2011), reshape2 (Wickham 2007), Rmisc (Hope 2013) to run the model and statistical analyses. The R packages ggplot2 (Wickham 2009), scales (Wickham 2016), and cowplot (Wilke 2016) were used to create the figures.…”
Section: Statistical Analyses and Figuresmentioning
confidence: 99%