comp_ei {egor} | R Documentation |
egor
object as a measurement of ego-alter homophilycomp_ei()
calculates the EI-Index values as a measurement for ego-alter homo-/heterophily.
comp_ei(object, alt.attr, ego.attr)
object |
An |
alt.attr |
A |
ego.attr |
A |
A tibble
with the ego ID and a numeric
result vector.
data("egor32")
comp_ei(egor32, "age", "age")