igraph-help
[Top][All Lists]
Advanced

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

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


From: Gábor Csárdi
Subject: Re: [igraph] getting the graph of the maximum component
Date: Mon, 9 Aug 2010 10:21:48 +0200

Martin,

they are added as the 'id' vertex attribute.

Gabor

On Mon, Aug 9, 2010 at 10:10 AM, Martin Tomko <address@hidden> wrote:
> 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"?
>
> Cheers
> M.
>
> 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").
>>
>> Best,
>> Gabor
>>
>> [...]
>>
>>
>
>
> --
> 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
>
>



-- 
Gabor Csardi <address@hidden>     UNIL DGM



reply via email to

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