| closeness_w |
|
This function calculates closeness scores for nodes in a weighted network based on the distance_w. This function takes two options:
Closeness is calculated by assigning a farness score to each node. This farness score can be calculated in a number of ways; however, the most common way is to sum the distances to all the other nodes. In tnet only this method is implemented; however, distance is defined differently (see distance_w). Farness score for each node is then transformed into closeness by inverting the score. Example: Sample data ## Load tnet ## Define sample data ## Run programme node closeness
|
|
| Last Updated ( Monday, 03 August 2009 ) |