igraph-help
[Top][All Lists]
Advanced

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

[igraph] add.edges error message


From: Alisa Coffin
Subject: [igraph] add.edges error message
Date: Sat, 23 Feb 2008 14:23:11 -0500

Hello,

I am brand new to using igraph, and relatively new to R, so please bear with me if my question is a simple one. I am building a graph using the example given in the "Real world examples" of the igraph introductory material. I have been successful so far in creating the graph, adding vertices, and creating a matrix of edges. However, when it comes to adding the edges to the graph, I get an error message:

> g2005 <- add.edges(g2005, t(edges2005))
Error in add.edges(g2005, t(edges2005)) :
  At type_indexededgelist.c:240 : cannot add edges, Invalid vertex id

I'm not sure what this means. I have tried looking at the vertex list and the edge list and can't seem to find a problem with either. Any ideas? Any workarounds?

Thank you very much!
Alisa



--
Alisa Coffin, PhD. Candidate
Department of Geography
University of Florida
Gainesville, FL  32611
reply via email to

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