crossclique: Find the cross-clique connectivity (centrality)

Description Usage Arguments Details Value Author(s) References Examples

View source: R/crossclique.R

Description

The cross-clique connectivity X(v) of a node is the number of cliques to which belongs. A node with a high X(v) value is called a highly cross-connected node.

Usage

1
crossclique(graph, vids = V(graph))

Arguments

graph

The input graph as igraph object

vids

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

Details

Note: Directed graph considered as undirected ones and multiple edges and loops are ignored.
More detail at Cross-Clique Connectivity

Value

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

Author(s)

Mahdi Jalili m_jalili@farabi.tums.ac.ir

References

Faghani, M., and U. Nguyen. "A Study of XSS Worm Propagation and Detection Mechanisms in Online Social Networks." (2013): 1-1.

Examples

1
2
g <- graph(c(1,2,2,3,3,4,4,2), directed=FALSE)
crossclique(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] 2 5 4 4

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