See neighborhood(). Gabor

On Sun, May 11, 2014 at 1:58 PM, Ragia Ibrahim <[email protected]> wrote:

>
> kindly,  can I have list of reachable nodes for each node in V(graph) ?
> I can not add it as an attribute to each node...I need to keep this list
> of reachable ones thus i can intersect and union them later on.
> replying is highly appreciated
> Ragia
>
>
> ------------------------------
> Date: Sat, 10 May 2014 18:40:55 -0400
> From: [email protected]
> To: [email protected]
> Subject: Re: [igraph] data presentation prob
>
> 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 <[email protected]>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
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/igraph-help
>
>
>
> _______________________________________________ igraph-help mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/igraph-help
>
> _______________________________________________
> igraph-help mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/igraph-help
>
>
_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to