Hello:

I have a network used in the c code, so the vertex ids begin from "0" (the
network is saved by node ids). Now I want to use R function to calculate
some properties of some specific vertexes.
After I input the network into R, I found the ids are changed. As we know
the ids begin from 1 in R. (I used the command
read.graph(file="a_graph.txt",format="edge list")).

My understanding is that, the relationship between the ids under C(denoted
as id_c) and that under R(denoted as id_R) is as follows: id_c+1=id_R.
Right?



Thanks



Best

Quanwei 


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

Reply via email to