centrality_random_walk: Random Walk Centrality

View source: R/centrality.R

centrality_random_walkR Documentation

Random Walk Centrality

Description

Inverse sum of random walk distances. Requires a connected graph.

Usage

centrality_random_walk(x, ...)

Arguments

x

Network input (matrix, igraph, network, cograph_network, tna object).

...

Additional arguments passed to centrality.

Value

Named numeric vector of random walk centrality values.

See Also

centrality for computing multiple measures at once.

Examples

adj <- matrix(c(0, 1, 1, 1, 0, 1, 1, 1, 0), 3, 3)
rownames(adj) <- colnames(adj) <- c("A", "B", "C")
centrality_random_walk(adj)

cograph documentation built on May 31, 2026, 5:06 p.m.