Description Usage Arguments Details Examples
This function converts 3-column dataframe such as produced with mat2dat back into a matrix with the IDs in the first two columns used as dimnames
1  | 
data | 
 a matrix  | 
forceSymmetric | 
 boolean, if matrix has a empty triangle, fill over the diagonal  | 
diag | 
 boolean, should a diagonal be added if absent?  | 
If value column is type numeric or integer the function will return a numeric matrix, otherwise a character matrix will be returned.
1  | mat2dat()
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.