Description Usage Arguments Value
Sum within-partition weights of adjacency matrix
1 | adj_sum_partition(x, p)
|
x |
adjacency matrix (may be weighted) |
p |
integer vector indicating the partition membership of each node |
returns the sum of the within-partition elements
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.