|
From: | Fletcher,Robert |
Subject: | [igraph] graph.adjacency for directed, weighted graph |
Date: | Wed, 9 Jan 2013 20:27:48 +0000 |
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: address@hidden Web: http://plaza.ufl.edu/robert.fletcher/ |
[Prev in Thread] | Current Thread | [Next in Thread] |