1% Generated by roxygen2: do not edit by hand
2% Please edit documentation in R/melt.r
3\name{melt.list}
4\alias{melt.list}
5\title{Melt a list by recursively melting each component.}
6\usage{
7\method{melt}{list}(data, ..., level = 1)
8}
9\arguments{
10\item{data}{list to recursively melt}
11
12\item{...}{further arguments passed to or from other methods.}
13
14\item{level}{list level - used for creating labels}
15}
16\description{
17Melt a list by recursively melting each component.
18}
19\examples{
20a <- as.list(c(1:4, NA))
21melt(a)
22names(a) <- letters[1:4]
23melt(a)
24a <- list(matrix(1:4, ncol=2), matrix(1:6, ncol=2))
25melt(a)
26a <- list(matrix(1:4, ncol=2), array(1:27, c(3,3,3)))
27melt(a)
28melt(list(1:5, matrix(1:4, ncol=2)))
29melt(list(list(1:3), 1, list(as.list(3:4), as.list(1:2))))
30}
31\seealso{
32\code{\link{cast}}
33
34Other melt methods:
35\code{\link{melt.array}()},
36\code{\link{melt.data.frame}()},
37\code{\link{melt.default}()}
38}
39\concept{melt methods}
40\keyword{manip}
41