powered by
PageRank variant with a ground node connected to all nodes. Requires a directed graph.
centrality_leaderrank(x, ...)
Named numeric vector of LeaderRank values.
Network input (matrix, igraph, network, cograph_network, tna object). Must be directed.
Additional arguments passed to centrality.
centrality
centrality for computing multiple measures at once, centrality_pagerank for standard PageRank.
centrality_pagerank
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)
Run the code above in your browser using DataLab