Can anyone help me to find the number of common neighbors of two vertices using igraph R.
I tried to get this with following command but it returned with list()
.
intersect(neighborhood(graph=TD1,order=1,nodes=714),neighborhood(graph=TD1,order=1,nodes=4211))
>>>> list()
Thanks
Anna