melt_array | R Documentation |
This is a replacement for reshape2::melt, intended to reduce the number of package dependencies
melt_array(x, value.name = "value")
x |
an array or matrix |
value.name |
an optional input for the column name containing data |
a data frame with the melted data
A <- array(1:27, dim = c(3,3,3))
melt_array(A)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.