Skip to content

Instantly share code, notes, and snippets.

@Ddedalus
Created May 12, 2018 15:33
Show Gist options
  • Save Ddedalus/5bcc49d28a9ac64e9026e650472421d6 to your computer and use it in GitHub Desktop.
Save Ddedalus/5bcc49d28a9ac64e9026e650472421d6 to your computer and use it in GitHub Desktop.
Check correlation between in/out degrees
```{r}
plot(degree(g5, mode = "in"), degree(n5, mode = "out"), type = "p")
cor.test(degree(g5, mode = "in"), degree(g5, mode = "out"))
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment