[Top][All Lists]

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

Re: [igraph] data presentation prob

From: Gábor Csárdi
Subject: Re: [igraph] data presentation prob
Date: Sat, 10 May 2014 18:40:55 -0400

Read the file with readLines(), and then go over it line by line. Split each line with strsplit(), and put the whole thing into an adjacency list. Then call graph.adjlist() on it.


On Sat, May 10, 2014 at 6:33 PM, Ragia Ibrahim <address@hidden> wrote:

 I got data like the following  taken from a graph

id          reacableh_list                  number of reachable
  1             1 4                                          2
  2             2 3 4                                         3
 3               3 2 1                                        3 
 4               4                                              1

i couldn't put it in data frame since the reachable list is not the same?
i want to keep it ..be able to sort..and get intersection and union between reachable lists..
any suggestions please


igraph-help mailing list

reply via email to

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