[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] Convertion
From: |
Gábor Csárdi |
Subject: |
Re: [igraph] Convertion |
Date: |
Wed, 25 Nov 2009 16:17:36 +0100 |
On Wed, Nov 25, 2009 at 4:10 PM, Romildo Martins
<address@hidden> wrote:
> Hello,
>
> how convert vertices lists in vector or array?
>
>> (V(graphslist[[1]]))
> Vertex sequence:
> [1] 5 8 9 11 12 14 16 20 21
>> array(V(graphslist[[1]]))
> [1] 0 1 2 3 4 5 6 7 8
I am not sure what you want, maybe
as.vector(V(graphslist[[1]]))
Gabor
> Thanks a lot!
>
> Romildo Martins
>
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/igraph-help
>
--
Gabor Csardi <address@hidden> UNIL DGM