[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] how to obtain the weighted adjacency matrix of a directed w
From: |
Tamás Nepusz |
Subject: |
Re: [igraph] how to obtain the weighted adjacency matrix of a directed weighted network |
Date: |
Mon, 21 Oct 2013 20:57:55 +0200 |
> I figured out how to obtain such eigenvalue by use of the arpack() function
> and the example given in its help. However, I believe I should use the
> weighted adjacency matrix (I have a weighted and directed network), which I
> cannot obtain by using get.adjacency(). Is there an option I have missed?
Yes; the "attr" option of get.adjacency() specifies the name of the attribute
whose values you wish to see in the appropriate cells of the adjacency matrix.
All the best,
Tamas