Hi All,
I'm working with igraph in R and I'm trying to create an edge attribute in
my network based on nodes' similarity on a vertex attribute. I already have
the vertex attribute read into the igraph object.

For example, "speakers" is an igraph object with vertex attribute
"birthyear." I want to create an edge attribute "ageband5" with value 1 if
two vertices in a dyad have birthyear within 5 years from one another.
Alternatively, "birthyeardiff" could be an edge attribute that is the
difference between the "birthyear" of each vertex in a dyad.
How can this be done?
Thank you,
Richard
_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to