This index was proposed by Krackhardt and Stern (1988) to distinguish between the relative prevalence
of between and within-group ties. This measure can be interpreted as homophily at the network level.
Usage
ei_index(A, mixed = TRUE, att = NULL)
Arguments
- A
A symmetric matrix object
- mixed
Whether the matrix provided is already a mixed matrix or not
- att
Categorical attribute of the nodes
Value
Numerical value of the E-I index.