"long2wide" | R Documentation |
Convert data from long format to wide format
long2wide(x, ...)
x |
A long-format data frame. |
... |
Optional parameters. |
A wide-format data frame.
Chakkrit Tantithamthavorn (kla@chakkrit.com)
long2wide(melt(example, id.vars=0))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.