|
From: | Quanwei Zhang |
Subject: | [igraph] Question about "similarity.dice()" |
Date: | Mon, 30 Sep 2013 22:09:00 +0000 |
Hello:
I want to get the number of shared neighbors in a node list. I did find one function to do it in the package. But I think I can get the values through the "similarity.dice()" and the "degree" functions.
I think if I multiply "the dice similarity value of two nodes" by "the average degree of the two nodes", I will get the number of the shared neighbors of the two nodes. Right?
BTW, is there anything special for two nodes that connected directly, when we calculate the shared neighbors(i.e., two nodes share some neighbors, and at the same time they connected to each other directly).
Thanks
Best
Quanwei
|
[Prev in Thread] | Current Thread | [Next in Thread] |