| radiality {CePa} | R Documentation |
Calculate radiality centrality
Description
Calculate radiality centrality
Usage
radiality(graph, mode = c("all", "in", "out"))
Arguments
graph |
an |
mode |
mode of the centrality |
Details
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.
Author(s)
Zuguang Gu <z.gu@dkfz.de>
Examples
require(igraph)
pathway = barabasi.game(200)
radiality(pathway)
[Package CePa version 0.8.0 Index]