Thank you again! That was really helpful.

Best,
S

.............................................
Loukas Serafeim
Master Student, University of Geneva
email: [email protected]


2017-02-22 15:07 GMT+01:00 Tamas Nepusz <[email protected]>:

> Do I do something wrong?
>>
> Yes; the argument of subgraph() is the IDs of the nodes to be included in
> the subgraph. Neighbors are not included. You need
> g.subgraph(g.neighborhood(5)) instead.
>
> T.
>
> _______________________________________________
> 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