For vectors, make a column of a data frame
melt.default(data, ...)
data
data frame
...
arguments
Hadley Wickham <h.wickham@gmail.com>