centrality
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
centrality [2015/11/24 09:26] – hkimscil | centrality [2024/11/18 10:44] (current) – [Eigenvector] hkimscil | ||
---|---|---|---|
Line 4: | Line 4: | ||
===== Closeness ===== | ===== Closeness ===== | ||
+ | < | ||
< | < | ||
library(sna) | library(sna) | ||
Line 19: | Line 20: | ||
</ | </ | ||
- | < | + | < |
- | | + | boxed.labels = F, arrowhead.cex = 1, mode = " |
</ | </ | ||
{{centrality_suzuki.png}} | {{centrality_suzuki.png}} | ||
Line 64: | Line 65: | ||
- WEST: West group (private organization) | - WEST: West group (private organization) | ||
+ | for out link (information out) | ||
< | < | ||
[1] 0.70 0.89 0.83 0.70 0.94 0.63 0.65 0.81 0.65 0.78 | [1] 0.70 0.89 0.83 0.70 0.94 0.63 0.65 0.81 0.65 0.78 | ||
</ | </ | ||
+ | for in link (information in) | ||
< | < | ||
[1] 0.76 0.94 0.72 0.78 0.94 0.46 1.00 0.59 0.78 0.61 | [1] 0.76 0.94 0.72 0.78 0.94 0.46 1.00 0.59 0.78 0.61 | ||
Line 91: | Line 94: | ||
edge.col=" | edge.col=" | ||
mode=" | mode=" | ||
- | betweenness(L) | ||
</ | </ | ||
- | < | + | < |
- | [1] 0 0 0 36 32 30 24 14 0 | + | </ |
+ | < | ||
</ | </ | ||
Line 113: | Line 116: | ||
</ | </ | ||
{{star_between.png}} | {{star_between.png}} | ||
- | |||
< | < | ||
- | [1] 56 0 0 0 0 0 0 0 0 | + | </ |
+ | < | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | twostars <- matrix(0, | ||
+ | edges <- matrix(c(1, | ||
+ | 6, | ||
+ | byrow=T, | ||
+ | twostars[edges] <- 1 | ||
+ | twostars <- twostars + t(twostars) - twostars * t(twostars) | ||
+ | |||
+ | gplot(twostars, | ||
+ | edge.col=" | ||
+ | betweenness(twostars) | ||
+ | closeness(twostars) | ||
+ | </ | ||
+ | {{two_star_network.png}} | ||
+ | |||
+ | < | ||
+ | [1] 76 0 0 0 0 70 72 70 0 0 0 0 76 | ||
+ | > round(closeness(twostars), | ||
+ | [1] 0.35 0.27 0.27 0.27 0.27 0.39 0.40 0.39 0.27 0.27 0.27 0.27 0.35 | ||
+ | </ | ||
+ | |||
+ | ===== Eigenvector ===== | ||
+ | __Eigenvector Centrality__ | ||
+ | * 중요한 노드에 연결된 노드가 중요하다는 관점 | ||
+ | * That is, the centrality of each node i is proportional to the sum of the centrality of its neighbors. | ||
+ | |||
+ | < | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | [1] " | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | [1] 0.25 0.41 0.36 0.26 0.47 0.15 0.22 0.35 0.21 0.33 | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | [1] 0.30 0.45 0.21 0.34 0.45 0.04 0.46 0.18 0.28 0.13 | ||
</ | </ | ||
centrality.1448326564.txt.gz · Last modified: 2015/11/24 09:26 by hkimscil