igraph-help
[Top][All Lists]
Advanced

[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.

Gabor


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

Hi,
 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




Ragia.

_______________________________________________
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]