matWide2Long | R Documentation |
Reformats the diagonal and upper triangular parts of a matrix from the wide format into the long format.
matWide2Long(mat, stringsAsFactors = FALSE)
mat |
matrix |
stringsAsFactors |
if TRUE, character vectors will be converted to factors |
data frame
Zheyuan Li [aut] (https://stackoverflow.com/a/41745373/597069), Timothee Flutre [ctb]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.