Dear igraph list,

I'm currently working on extracting node-level properties from a social
network and I'm stuck with the triad census calculation. As there isn't a
function to call on the graph to perform such task, this is the most
updated solution I found so far:
http://stackoverflow.com/questions/12374534/how-to-mine-for-motifs-in-r-with-igraph
.

When I try to iterate the triad census on each node in my graph though, I
get some strange results. First of all, being an undirected graph I should
be getting 4 values but instead I get 16. Moreover, I don't know which
resulting census corresponds to which node. The name attribute I call to
iterate on the list of nodes seems to contain the NULL value but it
correctly contains the vertex names at graph level before calling the
graph.neighborhood function.

My problem is: how can I have each node printed out along with its triad
census?
And, please forgive me for adding a side-question to my main one but seen
that we are talking about triads, I was wondering if anyone is aware of a
way to calculate the Kalish & Robins Strong-Weak-NoTie relation?

Thanks. I appreciate any help or advice.


Marco


-- 
*Find me on LinkedIn:*
linkedin.com/in/marcomilano <http://www.linkedin.com/in/marcomilano>
_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to