spread | R Documentation |
Long to short data
spread(dt, key, value)
dt |
input data.table |
key |
key variable used to spread data |
value |
data values for new columns |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.