Description Usage Arguments Value Examples
View source: R/matrixoperations.R
Auxiliary function, gives mask for matrix for directed, undirected etc.
| 1 | mat2vec.ix(mat, directed, selfloops)
 | 
| mat | matrix | 
| directed | a boolean argument specifying whether object is directed or not. | 
| selfloops | a boolean argument specifying whether the model should incorporate selfloops. | 
a boolean matrix that can be used to mask adjacency matrices.
| 1 2 | data('adj_karate')
mat2vec.ix(adj_karate, FALSE, FALSE)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.