Description Usage Arguments Details Value Author(s) References Examples

The local centrality *CL(v)* of node *v* is defined as:

*C_L(v)=sum(Q(u), u in Gamma(v))*

where

*Q(u)=sum(N(w), w in Gamma(u))*

and *Gamma (u)* is the set of the nearest neighbors of node *u* and *N(w)* is the number of the nearest and the next nearest neighbors of node *w*.

1 |

`graph` |
The input graph as igraph object |

`vids` |
Vertex sequence, the vertices for which the centrality values are returned. Default is all vertices. |

`mode` |
Character constatnt, it specifies how to use the direction of the edges if a directed graph is analyzed. For 'out' only the outgoing edges are followed. For 'in' all vertices from which the source vertex is reachable in at most order steps are counted. 'all' ignores the direction of the edges. This argument is ignored for undirected graphs. |

The local centrality is proposed aiming at identifying the influencers in undirected network, it can be applied to directed network as well with a modified definition of *N(w)*. Of course, for directed network, *N(w)* should be the number of the nearest and next nearest upstream nodes of node *w*.

Local centrality measure is likely to be more effective to identify influential nodes than degree centrality measure as it utilizes more information, while it has much lower computational complexity than the betweenness and closeness centralities.

More detail at Semi_Local Centrality

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

Mahdi Jalili [email protected]

Chen, Duanbing, et al. "Identifying influential nodes in complex networks." Physica a: Statistical mechanics and its applications 391.4 (2012): 1777-1787.

1 2 | ```
g <- barabasi.game(10)
semilocal(g)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.