clusterrank {centiserve} R Documentation

## Find the ClusterRank ranks in a graph

### Description

Mathematically, the ClusterRank score s_i of node i is defined as:

s_i = f(c_i) sum(k_out,j+1, j in tau _i)

where the term f(c_i) accounts for the effect of i's local clustering and the term '+1' results from the contribution of j itself.
Here f(c_i) = 10^(-c_i)

### Usage

```clusterrank(graph, vids = V(graph), directed = TRUE, loops = TRUE)
```

### Arguments

 `graph` The input graph as igraph object `vids` Vertex sequence, the vertices for which the centrality values are returned. Default is all vertices. `directed` Logical scalar, whether to directed graph is analyzed. This argument is ignored for undirected graphs. `loops` Logical; whether the loop edges are also counted.

### Details

ClusterRank is a local ranking algorithm which takes into account not only the number of neighbors and the neighbors' influences, but also the clustering coefficient.
ClusterRank can also be applied to undirected networks where the superiority of ClusterRank is significant compared with degree centrality and k-core decomposition.
More detail at ClusterRank

### Value

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

### Author(s)

Mahdi Jalili m_jalili@farabi.tums.ac.ir

### References

Chen, Duan-Bing, et al. "Identifying influential nodes in large-scale directed networks: the role of clustering." PloS one 8.10 (2013): e77455.

### Examples

```g <- graph(c(1,2,2,3,3,4,4,2,2,5,5,3,4,1,4,3,1,6,6,3,3,6,2,6,5,6))
clusterrank(g)
```

[Package centiserve version 1.0.0 Index]