Description Usage Arguments Value
This function calculates the EI-Index of ego-centered networks using a "category-count-dataframe" usually generated with comp.cat.counts(). The EI-Index ranges from -1 to 1, where a positive value represents a heterogenous personal network in respect to a specified attribute of ego an its alteri.
1 | comp.homophily(cat.counts, v_ego, netsize)
|
cat.counts |
Results of the function comp.cat.counts |
v_ego |
variable of an ego attribute corresponding to the |
netsize |
Name of a variable in |
EI Index values per ego/ network in a dataframe
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.