igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] edge attributes for bipartite projections


From: Gábor Csárdi
Subject: Re: [igraph] edge attributes for bipartite projections
Date: Mon, 6 Jun 2011 11:52:39 -0400

Amir,

in version 0.6, bipartite.projection has an argument called
'multiplicity', and if you set that to TRUE, then the number of
collaborations are added to the projection as the 'weight' edge
attribute.

Gabor

On Sun, Jun 5, 2011 at 8:02 PM, Amir Foroushani <address@hidden> wrote:
> Hi Guys,
>
> I think I had seen something similar to my question on an older thread ...
> but I can not find it anymore... so apologies for possible double posting.
> OK, I am using igraph in R. Let's say I project a bipartite author-paper
> network G into an author-collaboration network P, and I am interested in the
> number of collaborations between two authors (for this part I believe there
> is a launchpad version of bipartite.projection with edge weights) and also
> in the list of the papers that they co-published.
>
> Is there a more efficient way for doing this than performing first the
> projection by bipartite.projection and then  intersecting the neighbors (in
> G) of the two ends of each edge from P? In the example above, would it be
> possible to have the list of common papers directly as an edge attribute of
> the projection into authors?
>
> Many Thanks,
> Amir
>
> _______________________________________________
> 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]