Reshaping data with the reshape package

View Researcher's Other Codes

Disclaimer: The provided code links for this paper are external links. Science Nest has no responsibility for the accuracy, legality or content of these links. Also, by downloading this code(s), you agree to comply with the terms of use as set out by the author(s) of the code(s).

Authors Hadley Wickham
Journal/Conference Name Journal of Statistical Software
Paper Category
Paper 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 of publication 2007
Code Programming Language R

Copyright Researcher 2022