[Top][All Lists]

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

[igraph] Question about vertex ids

From: Qunawei Zhang
Subject: [igraph] Question about vertex ids
Date: Wed, 18 Sep 2013 10:07:55 -0400
User-agent: Microsoft-MacOutlook/


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?




reply via email to

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