igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] clustering coefficient in bipartite network


From: Simone Gabbriellini
Subject: Re: [igraph] clustering coefficient in bipartite network
Date: Sat, 27 Nov 2010 00:13:05 +0100

Hi Gabor,

> nei12 <- neighborhood(g, 2)
> nei1 <- neighborhood(g, 1)
> nei2 <- mapply(setdiff, nei12, nei1)

how can I intersect the $nei1 of a node v with the $nei1 of each of the nodes 
listed in $nei2 of v? 

I cannot figure out the syntax for this recursive logic...

thanks in advance for any help,

best,
Simone






reply via email to

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