[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] question about transivity
From: |
Tamás Nepusz |
Subject: |
Re: [igraph] question about transivity |
Date: |
Sat, 25 Apr 2015 10:53:41 +0200 |
You need transitivity_avglocal_undirected - this will do what you want. The
other function counts all the triangles in the entire graph and then divides it
by the number of connected triplets, so it doesn't work in a node-by-node basis.
T.
> On 25 Apr 2015, at 04:50, Jason Yang <address@hidden> wrote:
>
> Hi there,
> I am trying to calculate the clustering coefficient for every node in the
> graph and then do an average. Then I noticed that there are two functions,
> transitivity_avglocal_undirected and transitivity_undirected, I try to
> compare the difference between these two, but I do not know what is the
> difference between them, can anyone help me on this?
>
> Best,
> Jason
> _______________________________________________
> igraph-help mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help