centrality_leaderrank: LeaderRank Centrality

View source: R/centrality.R

centrality_leaderrankR Documentation

LeaderRank Centrality

Description

PageRank variant with a ground node connected to all nodes. Requires a directed graph.

Usage

centrality_leaderrank(x, ...)

Arguments

x

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

...

Additional arguments passed to centrality.

Value

Named numeric vector of LeaderRank values.

See Also

centrality for computing multiple measures at once, centrality_pagerank for standard PageRank.

Examples

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

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