In this post, we will see how to resolve Test data has all possible edges in every community in an undirected graph
Question:
I am working with a list of edges in R:igraph
object from it:In the example above, community 1 and 2 should be valid, as they have all the contribution between vertices, while community 3 shouldn’t.
How do I test this?
As the desired output, ideally I would like to have something like this:
Thanks!
Best Answer:
You can usemembership
like belowgrp
indicates how the vertices are clustered.If you have better answer, please add a comment about this, thank you!
Source: Stackoverflow.com
Leave a Review