igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[igraph] help needed in calculating graph knn


From: poulomi ganguli
Subject: [igraph] help needed in calculating graph knn
Date: Mon, 24 Nov 2014 12:33:57 -0500

Hi,

I have a weighted undirected network, which is correlation network & some of the weights are negative. When calculating graph knn using foll. command

graph.knn(g1,vids=V(g1),weights=TRUE)

I am getting foll. error :

Error in .Call("R_igraph_avg_nearest_neighbor_degree", graph, vids - 1,  :
  At structural_properties.c:5649 : Invalid weight vector size, Invalid value

Even I am not able to calculate some of the basic graph properties. Any suggestions on this, will be appreciable. Thanks,

- poulomi



--
_________________________
Best Regards,
~ Poulomi

Poulomi Ganguli
Postdoctoral Research Associate,
Northeastern University
Boston, MA-02115

reply via email to

[Prev in Thread] Current Thread [Next in Thread]