struct_equiv(graph, v = 1, inf.replace = 0, ...)
netdiffuseR-graphs
).sna::geodist
.sna::geodist
.graph
is a static graph, a list with the following elements:SE
d
gdis
t
in which each element
contains a list as described before.$$SE_{ij} = \frac{(dmax_i - d_{ji})^v}{\sum_{k\neq i}^n(dmax_i-d_{ki})^v}$$
with the summation over $k\neq i$, and $d_{ji}$, Eucledian distance in terms of geodesics, is defined as
$$d_{ji} = \left[(z_{ji} - z_{ij})^2 + \sum_k^n (z_{jk} - z_{ik})^2 + \sum_k^n (z_{ki} - z_{kj})^2\right]^\frac{1}{2}$$
with $z_{ij}$ as the geodesic (shortest path) from $i$ to $j$, and $dmax_i$ equal to largest Euclidean distance between $i$ and any other vertex in the network. All summations are made over $k\not\in {i,j}$
Here, the value of $v$ is interpreted as cohesion level. The higher its value, the higher will be the influence that the closests alters will have over ego (see Burt's paper in the reference).
Valente, T. W. (1995). "Network models of the diffusion of innovations" (2nd ed.). Cresskill N.J.: Hampton Press.
cumulative_adopt_count
,
dgr
, exposure
,
hazard_rate
, infection
,
moran
, threshold