wpr {wdnet}R Documentation

Weighted PageRank centrality

Description

Compute the weighted PageRank centrality measures of the vertices in a weighted and directed network represented through its adjacency matrix.

Usage

wpr(adj, gamma = 0.85, theta = 1, prior.info)

Arguments

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 (NULL), a random restart is implemented.

Value

a list of node names with corresponding weighted PageRank scores

Note

Function wpr is an extension of function page_rank in package igraph.

References


[Package wdnet version 1.2.3 Index]