salsa: Find the SALSA as 'hub' or 'authority' score

Description Usage Arguments Details Value Author(s) References Examples

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

1
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'.

Details

More detail at SALSA

Value

A numeric vector contaning the centrality scores for the selected vertices.

Author(s)

Mahdi Jalili m_jalili@farabi.tums.ac.ir

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

1
2
g <- barabasi.game(10)
salsa(g)

Example output

Loading required package: igraph

Attaching package: 'igraph'

The following objects are masked from 'package:stats':

    decompose, spectrum

The following object is masked from 'package:base':

    union

Loading required package: Matrix
 [1]  1.000000e+00  1.000000e+00  1.000000e+00  1.000000e+00  4.440892e-16
 [6]  2.220446e-16  1.110223e-16  0.000000e+00  0.000000e+00 -1.110223e-16

centiserve documentation built on May 2, 2019, 6:01 a.m.