igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] Shortest path matrix


From: seema aswani
Subject: Re: [igraph] Shortest path matrix
Date: Sun, 5 Jul 2015 20:16:27 +0530

Hi Gabor,
Thanks a lot for your response..:) It really helps alot.

On Sun, Jul 5, 2015 at 7:59 PM, Gábor Csárdi <address@hidden> wrote:
On Sun, Jul 5, 2015 at 4:18 PM, seema aswani <address@hidden> wrote:
Hi,
Just tried the way you told. But it is giving the resultant matrix in form of 
    [,1]      [,2]     
[1,] Integer,3 Integer,3
[2,] Integer,3 Integer,3 in your example. This is not giving the result as 1 2 3  1 2 3  3 2 1  3 2 1 as this.

Yes, you need to index the matrix to see the actual result. Lists can contain pretty much any R object, so when your matrix has lists as cells, R cannot really print the contents, there is no guarantee that it would even fit to the screen.

G.

_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help



reply via email to

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