wpr | R Documentation |
Compute the weighted PageRank centrality measures of the vertices in a weighted and directed network represented through its adjacency matrix.
wpr(adj, gamma = 0.85, theta = 1, prior.info)
adj |
is an adjacency matrix of a weighted and directed network |
gamma |
is the damping factor; it takes 0.85 (default) if not given. |
theta |
is a tuning parameter leveraging node degree and strength; theta = 0 does not consider edge weight; theta = 1 (default) fully considers edge weight. |
prior.info |
vertex-specific prior information for restarting when
arriving at a sink. When it is not given ( |
a list of node names with corresponding weighted PageRank scores
Function wpr
is an extension of function page_rank
in
package igraph
.
Zhang, P., Wang, T. and Yan, J. (2022) PageRank centrality and algorithms for weighted, directed networks with applications to World Input-Output Tables. Physica A: Statistical Mechanics and its Applications, 586, 126438.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.