Learn R Programming

egor (version 0.19.1)

EI: Calculate the EI-Index for the alter-alter ties of an ego object

Description

The EI-Index is the division of the intra-group edge density and the outer-group edge density. It is calculated for the whole network and for subgroups. The whole network EI is a metric indicating the tendency of a network to be clustered by the categories of a given factor variable. The EI value of a groups describes the tendency of a group to be connected or not connected to other groups. Additionally, the EI index can be employed as a measurement for egos tendency to homo-/heteorphily - use the comp_ei() command for that version of EI-Index.

Usage

EI(object, alt.attr)

Arguments

object

An egor object.

alt.attr

Character naming grouping variable.

References

Krackhardt, D., Stern, R.N., 1988. Informal networks and organizational crises: an experimental simulation. Social Psychology Quarterly 51 (2), 123-140.

Everett, M. G., & Borgatti, S. P. (2012). Categorical attribute based centrality: E-I and G-F centrality. Social Networks, 34(4), 562-569.

Examples

Run this code
# NOT RUN {
data("egor32")
EI(egor32, "sex")
# }

Run the code above in your browser using DataLab