View source: R/centrality-batch31.R
| centrality_expected_force | R Documentation |
The Expected Force (Lawyer 2015, equation 1) is the entropy of the
onward spreading potential after two transmission events from a seed
node. Each ordered sequence of two transmissions gives an infected
cluster of three nodes with D_k edges to susceptible nodes,
and with natural logarithms
ExF_i = -\sum_k \frac{D_k}{\sum_l D_l}
\log \frac{D_k}{\sum_l D_l}.
centrality_expected_force(x, ...)
x |
Network input accepted by |
... |
Further arguments to |
The measure is computed on the simple unweighted network with direction
kept, so weights, loops and parallel edges are ignored. In a directed
network only outgoing arcs transmit and count toward D_k.
Different orders of the same two infections count as distinct
sequences. A node that cannot start two transmissions scores zero, so
isolated nodes and nodes of components with at most three nodes score
zero. When every cluster has no edge to a susceptible node the entropy
is undefined, and the score is set to zero.
A named numeric vector with one score per node, in input node order.
Lawyer, G. (2015). Understanding the influence of all nodes in a network. Scientific Reports, 5, 8665. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1038/srep08665")}.
centrality_modified_expected_force,
centrality_expected, centrality.
centrality_expected_force(regulation_net)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.