Description Usage Arguments Details Value
Return edge indices
1 2 3 4 5 6 7 | edge_indices(x)
## S3 method for class 'matrix'
edge_indices(x)
## S3 method for class 'igraph'
edge_indices(g)
|
x, g |
An adjacency matrix or igraph object. |
If the input is an adjacency matrix, the return value is a 1-D index
identifying the non-zero values in the matrix. If the input is an igraph,
then the return value is an igraph.es
object—the output of
E
.
Indices corresponding to existing edges.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.