reshape.long | R Documentation |
<x> in long format
reshape.long(x, y, n = "id", w = "val")
x |
= a data frame |
y |
= a string vector (columns to be compressed) |
n |
= a string (name for identifier column) |
w |
= a string (name for values column) |
Other reshape: reshape.wide
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.