igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[igraph] Creating graph from session data


From: Farhan Ahmed
Subject: [igraph] Creating graph from session data
Date: Thu, 6 Nov 2014 14:58:07 -0500

Hello there,

I have a data frame with the following structure -

session   object
1             A
1             B
1             C
2             A
2             D
3             B
3             C
3             E


I want to create a graph where there's a bi-directional edge between objects that appear in the same session. So in the example above, there'd be an edge between A and B, B and C, A and C, A and D, B and C, B and E and C and E.

Is there an easy way to do this using igraph?

Thanks!

Farhan 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]