mat2df | R Documentation |
Converts a 2D numeric matrix into a 3-column data.frame
mat |
A |
This function is a faster version of reshape2::melt for the simple 2-D case. It is about 2.5x faster than melt.
A 3-column data.frame with dim1, dim2, and value
Michael Hallquist
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.