Dear list, I am having a problem with creating an appropriate igraph object using the graph.adjacency function. My network is weighted and directed. When I use the following code:
Agraph<-graph.adjacency(A,mode="directed",weighted=TRUE, diag=FALSE) The weights are not correct (this tends to produce very small, non-zero values for E(Agraph)$weight). In this example, A is an integer matrix. This code worked on previous versions of igraph, but does not appear to be working in 0.6-3. Any advice would be greatly appreciated. Rob Fletcher --------------------------------------------------------------- Robert Fletcher Department of Wildlife Ecology and Conservation 318 Newins-Ziegler Hall University of Florida/IFAS Gainesville, FL 32611 Phone: 352-846-0632 E-mail: [email protected] Web: http://plaza.ufl.edu/robert.fletcher/
_______________________________________________ igraph-help mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/igraph-help
