> How can I get a list (or vector, or df) containing all of the > reciprocal node pairs? See ?is.mutual; e.g.:
> el <- get.edgelist(g) > el[is.mutual(g), ] This gives you the subset of the edge list corresponding to mutual edges. If you are interested in the indices of mutual edges, use which(is.mutual(g)) -- T. _______________________________________________ igraph-help mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/igraph-help
