[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[igraph] Assortativity in igraph-6.0 under R
From: |
Przemek Grabowicz |
Subject: |
[igraph] Assortativity in igraph-6.0 under R |
Date: |
Wed, 19 May 2010 16:36:35 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9pre) Gecko/20100217 Lightning/1.0b1 Shredder/3.0.3pre |
Thank you for implementing assortativity in igraph-0.6, it's nice addition.
However there is something there what I don't understand.
Assortativity.degree gives different results than assortativity itself.
If I understand manual properly it should give the same values.
> assortativity(g1,degree(g1)-1,directed=TRUE)
[1] 0.1368699
> assortativity.degree(g1,directed=TRUE)
[1] 0.1546312
It works fine when directed=FALSE. I'm using
igraph_nightly_0.6-1899-20100505 under R-2.8.1 .
- [igraph] Assortativity in igraph-6.0 under R,
Przemek Grabowicz <=