Sorry, I missed your second question, my answer is below.

On Thu, Oct 4, 2012 at 9:35 AM, Paul Smith
<[email protected]> wrote:
[...]
> Next, how can I attach descriptive values to each of the points making up
> the vertices so I can follow them with other data?

Set a vertex attribute called 'name'. See more in the
?set.vertex.attribute manual page. It basically goes like this:

g <- graph.ring(10)
V(g)$name <- letters[1:10]
str(g)

If you create your graph from an edge list containing vertex symbols,
via graph.data.frame(), then vertex symbols are automatically added as
the 'name' vertex attribute.

Best,
Gabor

[...]

_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to