Description Usage Arguments Value
A common interface for matrix and igraph representations of graph structure.
1 2 3 4 5 6 7 | n_vertices(x)
## S3 method for class 'matrix'
n_vertices(x)
## S3 method for class 'igraph'
n_vertices(g)
|
x |
An adjacency matrix |
g |
An igraph object. |
Number of edges
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.