Hi

I am using graph.bipartite to generate a bipartite graph.
Here is the source code and the error information:

> v<-0:7 
> e<-c(0,4,1,6,3,7,2,6,1,5)
> g<-graph.bipartite(v,e)
error in graph.bipartite(v, e) : 
  At bipartite.c:497 : Invalid (negative) vertex id, Invalid vertex id

Where am I making mistakes? 

Moreover, I want to convert a directed graph into a bipartite graph by 
splitting each vertice into two vertices. Is there any function can do this?

Thanks

best
Xueming




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

Reply via email to