Melt a list by recursively melting each component.
Melt a list by recursively melting each component.
## S3 method for class 'list' melt(data, ..., level = 1)
data |
list to recursively melt |
... |
further arguments passed to or from other methods. |
level |
list level - used for creating labels |
Other melt methods:
melt.array()
,
melt.data.frame()
,
melt.default()
a <- as.list(c(1:4, NA)) melt(a) names(a) <- letters[1:4] melt(a) a <- list(matrix(1:4, ncol=2), matrix(1:6, ncol=2)) melt(a) a <- list(matrix(1:4, ncol=2), array(1:27, c(3,3,3))) melt(a) melt(list(1:5, matrix(1:4, ncol=2))) melt(list(list(1:3), 1, list(as.list(3:4), as.list(1:2))))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.