Skip to contents

Formula: s_i = sum_j a_ij w_ij

Usage

Vstrength(W)

Arguments

W

See Usage.

Value

List with strength, degree, ratio, total, n.

References

Barrat, Barthelemy, Pastor-Satorras and Vespignani (2004), The architecture of complex weighted networks, PNAS 101:3747-3752, arXiv:cond-mat/0311416, equation (2). Verified against the paper.

Examples

V <- c(1, 2, 3, 4, 5, 6, 7, 8)
Vstrength(V)
#> $strength
#> [1] 0 2 3 4 5 6 7 8
#> 
#> $degree
#> [1] 0 1 1 1 1 1 1 1
#> 
#> $ratio
#> [1] NA  2  3  4  5  6  7  8
#> 
#> $total
#> [1] 35
#> 
#> $n
#> [1] 8
#> 
#> $method
#> [1] "Weighted-graph vertex strengths"
#> 
#> attr(,"class")
#> [1] "morie_rich_result" "list"