Random walk centrality is the inverse of the summed random-walk distances from a node to the others: $$RW(i) = \left(\sum_{j} \frac{m_{ij} + m_{ji}}{2}\right)^{-1},$$ where \(m_{ij}\) is the mean first passage time from \(i\) to \(j\) of a walk that moves to each out-neighbor with equal probability.
Arguments
- x
Network input accepted by
centrality.- ...
Further arguments to
centrality.
Details
Edge weights are ignored. The measure is defined for connected undirected
and strongly connected directed networks. On any other network every
score is NA, with a cograph_undefined_measure warning,
because some passage times are infinite. The passage times are
symmetrized before
the sum, so the values differ from
tidygraph::centrality_random_walk(), which sums them unsymmetrized.
