ego_constraint {egor} | R Documentation |
Calculate Burt constraint for the egos of ego-centered networks
Description
This calculates Burt's network constraint for all egos in an egor object. It iterates over each network and applies igraph::constraint. A weight variable can be specified.
Usage
ego_constraint(object, weights = NULL, ego.alter.weights = weights)
Arguments
object |
An |
weights |
|
ego.alter.weights |
|
Details
The calculation of weighted network constraint only works, if the alter-alter tie weights are complemented by a alter level variable specifying the same weight for the ego-alter ties.
Value
Numeric
vector with a constraint value for each ego.
References
Burt, R. (2004). Structural holes and good ideas. American Journal of Sociology, (110), 349–399.
Examples
data(egor32)
ego_constraint(egor32)