|
From: | ash nix |
Subject: | Re: [igraph] igraph-help Digest, Vol 82, Issue 8 |
Date: | Thu, 9 May 2013 13:15:07 -0400 |
--On Thu, May 9, 2013 at 12:00 PM, <address@hidden> wrote:Send igraph-help mailing list submissions to
address@hidden
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.nongnu.org/mailman/listinfo/igraph-help
or, via email, send a message with subject or body 'help' to
address@hidden
You can reach the person managing the list at
address@hidden
When replying, please edit your Subject line so it is more specific
than "Re: Contents of igraph-help digest..."
Today's Topics:
1. igraph vertex index (ash nix)
2. Re: igraph vertex index (G?bor Cs?rdi)
3. Re: igraph vertex index (Szabolcs Horv?t)
----------------------------------------------------------------------
Message: 1
Date: Thu, 9 May 2013 11:41:02 -0400
From: ash nix <address@hidden>
To: address@hidden
Subject: [igraph] igraph vertex index
Message-ID:
<address@hidden>
Content-Type: text/plain; charset="iso-8859-1"
Hi,
I am new to igraph and confused about the starting index for vertex.
Many documentation says that starting index for vertex in R is 0.
But on R I get the starting index as 1.
Please following
> V(kap)[0]
Vertex sequence:
character(0)
> V(kap)[1]
Vertex sequence:
[1] "moskowitz"
--
Thanks,
A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nongnu.org/archive/html/igraph-help/attachments/20130509/e6acac3d/attachment.html>
------------------------------
Message: 2
Date: Thu, 9 May 2013 11:43:31 -0400
From: G?bor Cs?rdi <address@hidden>
To: Help for igraph users <address@hidden>
Subject: Re: [igraph] igraph vertex index
Message-ID:
<CABtg=K=9x8g-TMJ0kC9FmfZDTsfscOw=tH=address@hidden>
Content-Type: text/plain; charset="iso-8859-1"
On Thu, May 9, 2013 at 11:41 AM, ash nix <address@hidden> wrote:
> Hi,
>
> I am new to igraph and confused about the starting index for vertex.
> Many documentation says that starting index for vertex in R is 0.
>
Where? These are outdated or wrong. See e.g. ?igraph.
Gabor
> But on R I get the starting index as 1.
>
> Please following
>
> > V(kap)[0]
> Vertex sequence:
> character(0)
> > V(kap)[1]
> Vertex sequence:
> [1] "moskowitz"
>
> --
> Thanks,
> A
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help
>
>
--
Gabor Csardi <address@hidden> MTA KFKI RMKI
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nongnu.org/archive/html/igraph-help/attachments/20130509/6e0cb705/attachment.html>
------------------------------
Message: 3
Date: Thu, 9 May 2013 11:44:10 -0400
From: Szabolcs Horv?t <address@hidden>
To: Help for igraph users <address@hidden>
Subject: Re: [igraph] igraph vertex index
Message-ID:
<CAJDnrnq4cWcj_Bbd8t_=address@hidden>
Content-Type: text/plain; charset="utf-8"
Hi,
The starting index in R should be 1, not 0. This corresponds to R's
1-based array indexing.
There are some functions which will sometimes (incorrectly) return 0-based
indices, see e.g. here:
http://lists.nongnu.org/archive/html/igraph-help/2013-05/msg00002.html
On 9 May 2013 11:41, ash nix <address@hidden> wrote:
> Hi,
>
> I am new to igraph and confused about the starting index for vertex.
> Many documentation says that starting index for vertex in R is 0.
> But on R I get the starting index as 1.
>
> Please following
>
> > V(kap)[0]
> Vertex sequence:
> character(0)
> > V(kap)[1]
> Vertex sequence:
> [1] "moskowitz"
>
> --
> Thanks,
> A
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nongnu.org/archive/html/igraph-help/attachments/20130509/8308ea8d/attachment.html>
------------------------------
_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help
End of igraph-help Digest, Vol 82, Issue 8
******************************************
Thanks,
A
[Prev in Thread] | Current Thread | [Next in Thread] |