I am creating a network with the package nwcommands. I'm using data in edgelist format from which I create my network, and the data looks as follows:
Creating an adjacency matrix from above data has been successful, but when I do that I obviously lose information on how frequent each connection has been made/used in the network. What I want to do is visualize that information; by making the edges in the network obvious if a certain connection has been used often. However, I'm not sure how I would extract that information from my data elegantly. Furthermore, to my knowledge there is no ready-made functionality within the nwcommands package that does this for me.
Code:
. list +---------------------+ | from to | |---------------------| 1. | 3240 3240 | 2. | 420 6711 | 3. | 8740 8740 | 4. | 8740 8740 | 5. | 4540 8710 | |---------------------| 6. | 4540 4540 | 7. | 8710 8710 | 8. | 8910 8910 | 9. | 5740 5740 | 10. | 7020 7020 | |---------------------| 11. | 7020 6550 | 12. | 7540 420 | 13. | 2840 2840 | 14. | 2840 2840 | 15. | 2840 2840 | |---------------------| 16. | 2840 2840 | 17. | 2840 2840 | 18. | 5840 5840 | 19. | 8910 8910 | 20. | 5240 5240 | |---------------------|
Comment