Description Usage Arguments Value Examples
View source: R/misc-utilities.R
In/Out-degree of a set of vertices in a directed graph
1 2 3 | in_degree(g, v.set)
out_degree(g, v.set)
|
g |
an igraph directed graph |
v.set |
a set of vertex names |
numeric vector of degree counts
1 2 | g <- ba.game(10)
inDegree(g, V(g))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.