igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] Code for calculating the weighted reciprocity


From: Gábor Csárdi
Subject: Re: [igraph] Code for calculating the weighted reciprocity
Date: Mon, 25 Feb 2013 00:55:55 -0500

I believe that the easiest way to program these is using as.undirected() and create a custom function for aggregating the edge weights. See ?attribute.combination for a start. If you get stuck, then please send some small piece of example code, and I'll show you how to do it.

Gabor


On Sun, Feb 24, 2013 at 1:46 AM, Johannes Beller <address@hidden> wrote:
Dear igraph-list-members,

I have a weighted directed network and want to calculate the weighted reciprocity (see e.g. http://www.cs.cmu.edu/~lakoglu/pubs/12-pakdd-reciprocity.pdf p.2). I am aware of igraph's reciprocity function; however, to my knowledge, it can only calculate the unweighted reciprocity.

Do you know of code (preferebly in R) to calculate the weighted reciprocity?

Best regards,

Johannes Beller



_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help




--
Gabor Csardi <address@hidden>     MTA KFKI RMKI

reply via email to

[Prev in Thread] Current Thread [Next in Thread]