I want to create a function for Burt’s effective size.
The formula boils down to:
Effective size = n – 2t/n
- where t is the number of ties (not counting ties to ego)
- n is the number of people in the network (not counting ego).
I’m not really sure where to start with writing functions within/for igraph.
Let me know if more detail would be helpful…
Thanks.
First simulate a basic graph:
Then write a simple function to calculate the effective size. (The functions in here that operate on
gare all nicely documented in theigraphmanual and in various examples around the net.)