comp.homophily: Calculate the homophily of ego-centered networks.

Description Usage Arguments Value

Description

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.

Usage

1
comp.homophily(cat.counts, v_ego, netsize)

Arguments

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 broad consisting of numerics for the network size of each network.

Value

EI Index values per ego/ network in a dataframe.


tilltnet/egonetR documentation built on May 31, 2019, 1:46 p.m.