The first column should be sources, the second should be targets.
csv.to.igraph(fname)
A filename
An igraph graph object built from the filename.
# NOT RUN { ig.csv <- csv.to.igraph("edgelist.csv") # }
Run the code above in your browser using DataCamp Workspace