graph_from_adjacency_matrix_signed | R Documentation |
Create signed graphs from adjacency matrices
graph_from_adjacency_matrix_signed(A, mode = "undirected", ...)
A |
square adjacency matrix of a signed graph |
mode |
Character scalar, specifies how to interpret the supplied matrix. Possible values are: directed, undirected |
... |
additional parameters for |
a signed network as igraph object
A <- matrix(c(0, 1, -1, 1, 0, 1, -1, 1, 0), 3, 3)
graph_from_adjacency_matrix_signed(A)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.