[Top][All Lists]

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

Re: [igraph] getting the graph of the maximum component

From: Martin Tomko
Subject: Re: [igraph] getting the graph of the maximum component
Date: Mon, 09 Aug 2010 10:10:51 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20100227 Lightning/1.0b1 Thunderbird/3.0.3

Ok, cool. If i create the graph from a pajek net file with assigned ids, these I preserved, I assume? Or are they only used as "labels"?


On 8/9/2010 10:03 AM, Gábor Csárdi wrote:
Hi Martin,

On Mon, Aug 9, 2010 at 9:56 AM, Martin Tomko<address@hidden>  wrote:
Hi Gabor,#
thanks a lot, that helps heaps. I tend to forget the R tricks, I don't work
with it on a daily basis. Just one question - you note that igraph has
0-based indexing (as opposed to R starting with 1). I just want to make sure
I get this right, it can potentially mean that I missed some data in my
processing. Where is it manifested, or where can I find it documented?
vertex and edge ids are indexed from zero. Possibly other ids as well,
e.g. membership vectors for community finding algorithms and
clusters(). This is documented in the manual, see
help("igraph-package"), and the respective manual pages of the other
functions, e.g. help("clusters").



Martin Tomko
Postdoctoral Research Assistant

Geographic Information Systems Division
Department of Geography
University of Zurich - Irchel
Winterthurerstr. 190
CH-8057 Zurich, Switzerland

email:  address@hidden
site:   http://www.geo.uzh.ch/~mtomko
mob:    +41-788 629 558
tel:    +41-44-6355256
fax:    +41-44-6356848

reply via email to

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