Dear List,
I have a bunch of files where info about bipartite networks are coded this way:
"topic","user","weight"
696,2,1
696,9,2
696,17,1
696,137,1
698,9,3
698,17,3
717,3,1
717,5,1
717,8,1
717,9,8
is there any straightforward way to load one of this files and create
a bipartite network with edge weights? Consider that there could be an
overlap between numbers in the first and second column.
Right now, I only have this code:
net<-as.matrix(read.csv("my file"))
g<-graph.edgelist(net[,-3])
Any help much appreciated.
Best,
Simone
--
Simone Gabbriellini, PhD
PostDoc@DISI, University of Bologna
mobile: +39 340 39 75 626
email: [email protected]
home: www.digitaldust.it
DigitalBrains srl
Amministratore
mobile: +39 340 39 75 626
email: [email protected]
home: www.digitalbrains.it
_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help