Learn R Programming

cograph (version 2.0.0)

centrality_voterank: VoteRank Centrality

Description

Identifies influential spreaders via an iterative voting mechanism. Returns normalized rank (1 = most influential). Based on Zhang et al. (2016).

Usage

centrality_voterank(x, ...)

Value

Named numeric vector of VoteRank values.

Arguments

x

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

...

Additional arguments passed to centrality (e.g., weighted, directed).

See Also

centrality for computing multiple measures at once.

Examples

Run this code
adj <- matrix(c(0, 1, 1, 1, 0, 1, 1, 1, 0), 3, 3)
rownames(adj) <- colnames(adj) <- c("A", "B", "C")
centrality_voterank(adj)

Run the code above in your browser using DataLab