View source: R/ego_constraint.R
ego_constraint | R Documentation |
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.
ego_constraint(object, weights = NULL, ego.alter.weights = weights)
object |
An |
weights |
|
ego.alter.weights |
|
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.
Numeric
vector with a constraint value for each ego.
Burt, R. (2004). Structural holes and good ideas. American Journal of Sociology, (110), 349–399.
data(egor32)
ego_constraint(egor32)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.