Top "Reshape2" questions

The reshape2 package in R contains functions that allow data to be transformed into more convenient forms.

Reshaping multiple sets of measurement columns (wide format) into single columns (long format)

I have a dataframe in a wide format, with repeated measurements taken within different date ranges. In my example there …

r reshape tidyr reshape2 r-faq
Why reshape2's Melt cannot capture rownames in the transformation?

I have the following data: Cubn 3.71455160837536 0.237454645363458 Gm9779 2.56051657980096 0.20850752817264 Apod 3.51796703048962 0.195999214485821 What I want to do is to create the 'melted' data such …

r reshape reshape2
quick/elegant way to construct mean/variance summary table

I can achieve this task, but I feel like there must be a "best" (slickest, most compact, clearest-code, fastest?) way …

r aggregate plyr reshape2
I am unable to download the reshape2 package in R

I am getting this response when trying to install the R package: >installed.packages("reshape2") Package LibPath Version Priority …

r package installation reshape2
could not find function "cast" despite reshape2 installed and loaded

In following Hadley Wickham's "Practical tools for exploring data and models" examples in section 2.4, Casting molten data I'm getting Error: …

r reshape2
Reshape data from long to wide format - more than one variable

I’m trying to reshape my data from long to wide formula using the dcast function from reshape2. The objective …

r reshape2 dcast
melt / reshape in excel using VBA?

I'm currently adjusting to a new job where most of the work I share with colleagues is via MS Excel. …

r vba excel pivot-table reshape2
Transposing data frames

Happy Weekends. I've been trying to replicate the results from this blog post in R. I am looking for a …

r reshape2 tidyr
Why can't one have several `value.var` in `dcast`?

Why can't one have multiple variables passed to value.var in dcast? From ?dcast: value.var name of column which …

r dataframe reshape2
dcast fun.aggregate parameters

In the R package reshape2, does the dcast() function parameter fun.aggregate= have the ability to accept parameters itself? For …

r reshape2