graph.strength | R Documentation |
graph.strength()
was renamed to strength()
to create a more
consistent API.
graph.strength(
graph,
vids = V(graph),
mode = c("all", "out", "in", "total"),
loops = TRUE,
weights = NULL
)
graph |
The input graph. |
vids |
The vertices for which the strength will be calculated. |
mode |
Character string, “out” for out-degree, “in” for in-degree or “all” for the sum of the two. For undirected graphs this argument is ignored. |
loops |
Logical; whether the loop edges are also counted. |
weights |
Weight vector. If the graph has a |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.