igraph-help
[Top][All Lists]
Advanced

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

[igraph] How to create a vertex sequence using vertex label?


From: sloiseau
Subject: [igraph] How to create a vertex sequence using vertex label?
Date: Tue, 12 Jun 2007 23:34:19 +0200 (CEST)
User-agent: SquirrelMail/1.4.4

I havn't the good solution for retreiving a vertex using it's label.

Up to now, I use something like:

    V(g)[ which(V(g)$label == "casserole")-1 ]

which is very inelegant... What is the right solution?

Cheers,
Sylvain





reply via email to

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