Skip to content
Prev 244564 / 398502 Next

help requested

HI friends,
  I have very lengthy graph data in edge list format. I want to convert it
into node list format. 

example:
EDGE LIST FORMAT
1 2 
1 3 
1 4 
1 5
2 3 
2 4
3 2 
4 1
4 3
4  5
5 2
5 4

ITS NODE LIST FORMAT SHOULD BE LIKE:
1 2 3  4 5
2 3 4
3 2
4 1 3
5 2 4

  Kindly suggest me which package in R provides the support to do my task.
Thank u friends in advance.