Identifying weights of the edges connecting communities in CNA
Issue #213
resolved
Hi,
I would like to determine the weight of the edges between each community derived from CNA function. I have used the following function as given in the tutorial.
>net<-cna(cij)
> E(net$community.network)$weight
[1] 0.29316819 0.46772661 0.26507721 0.14421590 0.42347011 0.63043047 0.20262199 0.63573742
[9] 0.05965198 0.55065045 0.12526637 0.63491383 0.23984732 0.60856362 0.15387550 0.22959220
I would like to know what is the weight between community 1 and 2, 1 and 3 and so on.. I will be grateful for your help in this regard. Thank you
Comments (2)
-
-
- changed status to resolved
- Log in to comment
Hi Nikita,
Simply type
E(net$community.network)
will gives you the edges with their associated community numbers. It is displayed in the same order as above, and so easy to map each other.