mat2df | R Documentation |
convert a matrix to a dataframe
mat2df( m, datlabel = "value", symmetrical = TRUE, diag = FALSE, stringsAsFactors = FALSE )
m |
matrix |
datlabel |
character of what you want the column to be in the df |
symmetrical |
bool only TRUE is currently supported |
diag |
bool only FALSE is currently supported |
stringsAsFactors |
bool don't mess with it |
data.frame
df2mat
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.