Skip to content

Instantly share code, notes, and snippets.

@gshotwell
Created May 11, 2015 18:37
Show Gist options
  • Save gshotwell/2da6df456ed8a843ce10 to your computer and use it in GitHub Desktop.
Save gshotwell/2da6df456ed8a843ce10 to your computer and use it in GitHub Desktop.
# Tidy directed network
library(dplyr)
df <- data_frame( Var_1 = c("x", "y", "z", "z"),
Var_2 = c("y", "z", "x", "y"),
Weight= 1:4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment