[R] Help on reshape function

R. Michael Weylandt michael.weylandt at gmail.com
Tue Mar 6 18:45:02 CET 2012


You'll need to use the cast() function but I can't say more unless you
can provide more specifics. I believe Hadley's website has more
documentation than the package: http://had.co.nz/reshape/

Michael

On Tue, Mar 6, 2012 at 9:34 AM, mails <mails00000 at gmail.com> wrote:
> Hey Michael,
>
> thanks for your help. I think the reshape2 library works much better than
> the normal reshape function.
> However, I still cannot retransform my data.frame into wide format once used
> melt function to transform
> it into long format. How do I get it back to wide format?
> The documentation, unfortunately, is not very detailed.
>
>
>
>
> --
> View this message in context: http://r.789695.n4.nabble.com/Help-on-reshape-function-tp4449464p4450044.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list