salsa: Find the SALSA as 'hub' or 'authority' score
Description
The Stochastic Approach for Link-Structure Analysis (SALSA) is combination of HITS and PageRank which creates a neighborhood graph using authority and hub pages and links and create a bipartite graph of the authority and hub pages in the neighborhood graph.
Usage
salsa(graph, vids = V(graph), score = c("hub", "authority"))
Arguments
graph
The input graph as igraph object
vids
Vertex sequence, the vertices for which the centrality values are returned. Default is all vertices.
score
Character constant, gives which score should be calculated and must be one of 'hub' or 'authority'. The default is 'hub'.
Value
A numeric vector contaning the centrality scores for the selected vertices.
Details
More detail at SALSA
References
Lempel, Ronny, and Shlomo Moran. "SALSA: the stochastic approach for link-structure analysis." ACM Transactions on Information Systems (TOIS) 19.2 (2001): 131-160.
Examples
Run this code# NOT RUN {
g <- barabasi.game(10)
salsa(g)
# }
Run the code above in your browser using DataLab