This the generic melt function. See the following functions for the details about different data structures:

melt(data, ..., na.rm = FALSE, value.name = "value")

Arguments

data

Data set to melt

...

further arguments passed to or from other methods.

na.rm

Should NA values be removed from the data set? This will convert explicit missings to implicit missings.

value.name

name of variable used to store values

Details

See also