An index proposed by Krackhard and Stern (1988) to capture relative prevalence of between- and within-group ties. From that perspective it can be interpreted as a measure of network segregation.
ei(object, ...) ## S3 method for class 'table' ei(object, ...) ## S3 method for class 'igraph' ei( object, vattr, directed = is.directed(object), loops = any(is.loop(object)), ... ) ## Default S3 method: ei(object, ...)
R object, see Details for available methods
other arguments passed to/from other methods
character scalar or vector of length equal to the size of
logical whether the network is directed
logical, whether loops are allowed
object is a table it is interpreted as a mixing matrix.
Two-dimensional table is interpreted as a contact layer. Three-dimensional
table is interpreted as a full mixing matrix
cross-classyfying all dyads, in which
h correspond to
group membership of ego and alter respectively. Layers
y=2 are assumed to be non-contact and contact layers respectively.
object is of class "igraph" it is required to supply
with the name of the vertex attribute to calculate intermediate mixing
Numerical value of the E-I index.
Krackhardt, D., & Stern, R. N. (1988). Informal networks and organizational crises: An experimental simulation. Social Psychology Quarterly, 123-140.
Other segregation measures:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.