radiality | R Documentation |
Calculate radiality centrality
radiality(graph, mode = c("all", "in", "out"))
graph |
an |
mode |
mode of the centrality |
The radiality is defined as sum(d_G + 1 - d(v, w))/(n - 1)
. where d(w, v)
is the
length of the shortest path from node w
to node v
, d_G
is the diameter of the network,
n is the size of the network.
Zuguang Gu <z.gu@dkfz.de>
require(igraph)
pathway = barabasi.game(200)
radiality(pathway)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.