Skip to content

Instantly share code, notes, and snippets.

@HeenaR17
Created February 7, 2021 20:48
Show Gist options
  • Save HeenaR17/08464d87603e5aa3f73229277b0ac779 to your computer and use it in GitHub Desktop.
Save HeenaR17/08464d87603e5aa3f73229277b0ac779 to your computer and use it in GitHub Desktop.
#Community detection
net <- graph.data.frame(y,directed=F)
cnet <- cluster_edge_betweenness(net)
plot(cnet,net)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment