Flexibly restructure and aggregate data using just two functions: melt and 'dcast' (or 'acast').

Documentation

Manual: reshape2.pdf
Vignette: None available.

Maintainer: Hadley Wickham <h.wickham at gmail.com>

Author(s): Hadley Wickham <h.wickham at gmail.com>

Install package and any missing dependencies by running this line in your R console:

install.packages("reshape2")

Depends
Imports plyr(>=1.8.1), stringr, Rcpp
Suggests testthat(>=0.8.0), lattice
Enhances
Linking to Rcpp
Reverse
depends
BCellMA, CINOEDV, clickstream, CompetingRisk, dexter, difNLR, diverse, ESGtoolkit, gapmap, HRM, ifaTools, JAGUAR, mhtboot, mmppr, mudfold, pxR, reshapeGUI, ScottKnottESD, tcR, tmpm, TriMatch, validateRS, wordmatch, zoocat
Reverse
imports
ABHgenotypeR, adegenet, advclust, afex, agridat, aLFQ, algstat, AlignStat, anchoredDistr, aoristic, AppliedPredictiveModeling, apsimr, aslib, assignPOP, BacArena, BACCT, backShift, BatchMap, bayesAB, bayesplot, BBEST, BEQI2, bikedata, bioplots, blkbox, blockseg, bmmix, broom, bulletr, burnr, cancerGI, CANSIM2R, capm, caret, cda, cellWise, ChainLadder, CityWaterBalance, classify, clhs, clifro, ClimClass, clusterfly, clustMD, coefplot, cooccur, CopulaDTA, covmat, cplm, Cubist, cutoffR, darch, dartR, DataExplorer, dataRetrieval, dbhydroR, dcmr, deconstructSigs, DeLorean, denovolyzeR, DescribeDisplay, desplot, dtwclust, dtwSat, DVHmetrics, dynr, EasyHTMLReport, EcoGenetics, ecr, EEM, elasticIsing, emdi, enpls, EpiDynamics, evolqg, Evomorph, exreport, extracat, ez, factoextra, factorMerger, fcm, FinCal, flows, ForeCA, forecastHybrid, frailtySurv, freesurfer, FreqProf, fSRM, funModeling, G2Sd, GCalignR, gdm, ggcorrplot, gge, ggedit, ggenealogy, ggiraphExtra, gglogo, ggmap, ggparallel, ggplot2, ggQC, ggspatial, ggspectra, granovaGG, graphTweets, gridsampler, growcurves, growfunctions, hazus, heatmaply, HH, HLMdiag, hybridModels, hyfo, IATscores, IGM.MEA, imputeR, imputeTestbench, IMTest, iNEXT, InterfaceqPCR, kehra, laketemps, LambertW, lans2r, ldatuning, likert, lmms, lsbclust, lsl, magclass, mapStats, marmap, mdpeer, medicalrisk, mem, memapp, metacoder, MetaComp, metaheur, MiRAnorm, mixOmics, MixSIAR, mizer, Mobilize, Momocs, morse, mplot, mrfDepth, MRMR, MSGARCH, mudata, multdyn, MultiMeta, mvdalab, myTAI, nandb, narray, ncappc, neotoma, NetworkComparisonTest, networkreporting, networktools, NeuralNetTools, NMF, NPflow, oaxaca, obAnalytics, OpasnetUtils, openair, orderedLasso, OutbreakTools, outreg, patPRO, PCADSC, pdfetch, pdolsms, photobiologyInOut, pinbasic, planar, Plasmidprofiler, PlotPrjNetworks, polypoly, poppr, powerbydesign, pqantimalarials, PredictTestbench, prepdat, preprosim, preproviz, preText, pRF, proteomics, PSAboot, pscore, psData, PTXQC, ptycho, PWFSLSmoke, qdap, qgraph, quadrupen, radiomics, RAM, rbi, rclimateca, RcmdrPlugin.FuzzyClust, RDS, refund.shiny, rfPermute, rmcfs, RNeXML, rplos, RSSL, RStoolbox, rWBclimate, rwty, rYoutheria, scmamp, SEERaBomb, SensMixed, sharpshootR, ShinyItemAnalysis, shinystan, simmr, SixSigma, skeleSim, snht, soc.ca, soilDB, sorvi, sourceR, SoyNAM, sparsevar, speaq, sprm, stacomiR, STMedianPolish, StMoMo, structSSI, sValues, svdvis, swfscMisc, SWMPr, sysid, taRifx, taxize, TcGSA, timeseriesdb, timma, TippingPoint, toaster, TripleR, TropFishR, tsiR, TSMining, tvm, UncertainInterval, VDAP, warpMix, wppExplorer, WVPlots, xsp, xxIRT, yorkr, zebu
Reverse
suggests
alluvial, ARPobservation, bmlm, bodenmiller, bridgedist, causaldrf, childsds, codyn, data.table, flowr, frequencyConnectedness, funData, funrar, ggalt, ggsci, ggswissmaps, ggthemes, glmmTMB, GSODR, heplots, heuristica, httk, Information, Kmisc, knitrBootstrap, Lahman, lda, logitnorm, ltbayes, metafolio, MGLM, microplot, mlxR, mmpf, mosaicData, MTA, neurobase, nLTT, nullabor, oapackage, pals, ParamHelpers, PDQutils, Perc, physiology, pomp, popEpi, productplots, propr, psd, R6Frame, ragtop, rangemodelR, refund, rfordummies, rgbif, Rlda, rmetasim, robustbase, robustlmm, rpf, rtop, scanstatistics, sdmpredictors, sensitivity, shadow, sparseMVN, ss3sim, tableone, tictactoe, tidytext, Tmisc, tourr, treecm, tukeytrend, vcfR, vkR, xtractomatic
Reverse
enhances
Reverse
linking to

Package reshape2
Materials
URL https://github.com/hadley/reshape
Task Views
Version 1.4.2
Published 2016-10-22
License MIT + file LICENSE
BugReports https://github.com/hadley/reshape/issues
SystemRequirements
NeedsCompilation yes
Citation
CRAN checks reshape2 check results
Package source reshape2_1.4.2.tar.gz