valued bipartite projection using R igraph
问题 I am trying to create valued bipartite projection from my data which looks like the following: Name rid Emile 17560 Lou 11800 Luther 11800 Tot 11800 Phineas 11800 Phineas 13580 Calvin 13580 Calvin 11800 Les 11800 Jeff 11800 Sonny 13580 Leon 13580 Red 13580 I imported the above data and call it data1 Then I do the following: ##create graph object from data1 graph1 <- graph.data.frame(data1) #check if it is bipartite is.bipartite(graph1) FALSE ##convert to bipartite graph V(graph1)$type <- V