You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
text<- paste0("\n# Node Centrality and Centralization",
108
106
"\n## Degree Centrality",
109
107
"\nDegree centrality measures the number of direct connections each node has in the network.
110
108
Nodes with higher degree centrality are likely to be influential or well-connected individuals/entities.",
111
-
"\n\n- **The least connected node has (Min)**: ", round(min(centrality)),
112
-
"\n- **The most connected node has (Max)**: ", round(max(centrality)),
113
-
"\n- **On average, nodes have about (Mean)**: ", round(mean(centrality)),
114
-
"\n- **Half of the nodes have more connection than (Median)**: ", round(median(centrality)),
109
+
"\n\n- **The least connected node has (Min)**: ", round(min(centrality$degree)),
110
+
"\n- **The most connected node has (Max)**: ", round(max(centrality$degree)),
111
+
"\n- **On average, nodes have about (Mean)**: ", round(mean(centrality$degree)),
112
+
"\n- **Half of the nodes have more connection than (Median)**: ", round(median(centrality$degree)),
115
113
116
114
"\n\n## Betweenness Centrality",
117
115
"\nBetweenness centrality quantifies how often a node acts as a bridge in the shortest paths between other nodes.
118
116
Nodes with high betweenness are critical connectors in the network. Removing them could significantly disrupt the flow of information.",
119
-
"\n\n- **Min**: ", round(min(betweenness)),
120
-
"\n- **The node with the highest value is a critical bridge in the network, controlling the flow of information. with Max**: ", round(max(betweenness)),
"\n- **The node with the highest value is a critical bridge in the network, controlling the flow of information. with Max**: ", round(max(centrality$betweenness)),
"\nThe network diameter is the maximum distance (in terms of edges or steps) required to connect any two nodes in the network through the shortest possible path. ",
133
131
"\n\n- In our network: **the diameter is ", diameter, "**, it indicates that the farthest two nodes in your co-authorship network can be linked by the shortest path of ", diameter, " steps. ",
0 commit comments