Description Usage Arguments Details Value Author(s) References See Also Examples

`fragment`

measures the extent of fragmentation of a network after a
set of nodes is removed from the network. The more fragmented the residual network is, the more central a node is.

1 2 |

`adj.matrix` |
Matrix indicating the adjacency matrix of the network. |

`nodes` |
Integer indicating the column index of the chosen player
in the adjacenncy matrix. If there are multiple players,
use |

`M` |
Number indicating the maximum geodistance between two nodes,
above witch the two nodes are considered disconnected.
M hence defines the reachable set. The default is |

`binary` |
Logical scalar. If |

`large` |
Logical scalar, whether the computation method for large network is
implemented. If |

`geodist.precomp` |
Geodistance precomputed for the graph to be analyzed (optional). |

A natural way to apply the fragmentation centrality is in the context of counter-terrorism, as shown in Borgatti (2006). The measure uses geodistances to compute the fragmentation level of the residual network, and thus edge values should be properly adjusted to distance interpretation. The fragmentation centrality is not directional as edge values are counted aggregately at the network level.

Vector indicating fragment score(s) of the chosen player(s). Score is normalized to [0,1].

Weihua An [email protected]; Yu-Hsin Liu [email protected]

An, Weihua and Yu-Hsin Liu (2016). "keyplayer: An R Package for Locating Key Players in Social Networks."
Working Paper, Indiana Univeristy.

Borgatti, Stephen P. 2006. "Identifying Sets of Key Players in a Network."
*Computational, Mathematical and Organizational Theory*, 12(1):21-34.

Butts, Carter T. (2014). sna: Tools for Social Network Analysis. R package
version 2.3-2. http://CRAN.R-project.org/package=sna

Csardi, G and Nepusz, T (2006). "The igraph software package for complex network research."
InterJournal, Complex Systems 1695. http://igraph.org

`geodist`

;
`shortest.paths`

;
`kpcent`

;
`kpset`

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ```
# Create a 5x5 weighted and directed adjacency matrix, where edge values
# represent the strength of tie
W <- matrix(
c(0,1,3,0,0,
0,0,0,4,0,
1,1,0,2,0,
0,0,0,0,3,
0,2,0,0,0),
nrow=5, ncol=5, byrow = TRUE)
# Transform the edge value to distance interpretaion
A <- W
A[W!=0] <- 1/W[W!=0]
# List the fragmentation centrality scores for every node
fragment(A)
``` |

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.