[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] two-mode network in igraph
From: |
Simone Gabbriellini |
Subject: |
Re: [igraph] two-mode network in igraph |
Date: |
Fri, 24 Sep 2010 12:41:08 +0200 |
at this point, I have (first type starts with 100, second type with 200):
> vertices
[1] "1002" "1003" "1006" "1007" "1008" "1009" "10010" "10011" "10012"
"10013" "10014" "10015"
[13] "10016" "10017" "10018" "10019" "10020" "10021" "10022" "10024" "10026"
"10027" "10028" "10029"
[25] "10030" "10031" "10033" "10035" "10036" "10037" "10038" "10040" "10041"
"10042" "10043" "10044"
[37] "10045" "10046" "10047" "10049" "10050" "10052" "10054" "10055" "10056"
"10057" "10058" "10060"
[49] "10061" "10062" "10063" "10064" "10065" "10067" "10068" "10069" "10071"
"10072" "10073" "10074"
[61] "10075" "10076" "10077" "10078" "10080" "10081" "10082" "10083" "10084"
"10085" "10086" "10087"
[73] "2001" "2002" "2003" "2004" "2005" "2006" "2009" "20010" "20012"
"20013" "20014" "20015"
[85] "20016" "20017" "20019" "20022" "20023" "20024" "20025" "20027" "20026"
"20028" "20029" "2007"
[97] "20030" "20037" "2008" "2000" "20021" "20044" "20050" "20043" "20048"
"20035" "20049" "20056"
[109] "20058"
> edges
[1] 1002 2001 10087 2009 10086 20010 10085 20016 10085 20013 10085 2005
10085 2004 10084 20049
[17] 10083 20019 10083 20016 10083 20010 10083 2009 10083 2004 10083 2002
10082 20026 10082 20019
[33] 10082 2002 10081 20029 10081 20010 10081 2009 10080 20019 10080 20016
10080 20014 10080 20010
[49] 10080 2002 10078 20043 10078 20016 10078 20010 10078 2009 10077 20022
10077 20017 10077 20010
[65] 10076 20012 ...
when I run this I have an error:
bipartite<-graph.bipartite(vertices, edges, directed=TRUE)
Errore in graph.bipartite(vertices, edges, directed = TRUE) :
At bipartite.c:438 : Invalid (negative) vertex id, Invalid vertex id
do you have any hint?
regards,
simone
Il giorno 23/set/2010, alle ore 12.21, Tamas Nepusz ha scritto:
>> thanks, that's it! As Tamas has said, I will then convert the network in a
>> one-mode one
> Actually what I proposed is exactly what you can do with graph.incidence.
>
> --
> Tamas
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/igraph-help
- [igraph] two-mode network in igraph, Simone Gabbriellini, 2010/09/22
- Re: [igraph] two-mode network in igraph, Gábor Csárdi, 2010/09/23
- Re: [igraph] two-mode network in igraph, Simone Gabbriellini, 2010/09/23
- Re: [igraph] two-mode network in igraph, Gábor Csárdi, 2010/09/23
- Re: [igraph] two-mode network in igraph, Simone Gabbriellini, 2010/09/23
- Re: [igraph] two-mode network in igraph, Tamas Nepusz, 2010/09/23
- Re: [igraph] two-mode network in igraph, Simone Gabbriellini, 2010/09/23
- Re: [igraph] two-mode network in igraph, Simone Gabbriellini, 2010/09/24
- Re: [igraph] two-mode network in igraph,
Simone Gabbriellini <=
- Re: [igraph] two-mode network in igraph, Tamas Nepusz, 2010/09/24
- Re: [igraph] two-mode network in igraph, Simone Gabbriellini, 2010/09/24
- Re: [igraph] two-mode network in igraph, Tamas Nepusz, 2010/09/24
- Re: [igraph] two-mode network in igraph, Simone Gabbriellini, 2010/09/24
- Re: [igraph] two-mode network in igraph, Tamas Nepusz, 2010/09/24
- Re: [igraph] two-mode network in igraph, Simone Gabbriellini, 2010/09/24
- Re: [igraph] two-mode network in igraph, Gábor Csárdi, 2010/09/24
- Re: [igraph] two-mode network in igraph, Simone Gabbriellini, 2010/09/24
- Re: [igraph] two-mode network in igraph, Tamas Nepusz, 2010/09/23