Hello, I have an undirected graph g and I used g <- simplify (g)
to remove multiple edges. The problem is that I dont find the correct syntax for edge.attr.comp. I want my weights (for E(g)$weight) not being altered. The weights should not be touched at all. I just want multiple edges to vanish. I tried g <- simplify (g, edge.attr.comb=list (weight=function (x) unique (x), name="ignore")) and it seems to work but I am not happy with it. Could you please help to ameliorate the expression? Thanks Hermann
_______________________________________________ igraph-help mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/igraph-help
