Converting data form for 2mode network in r
问题 The data(excel) that I have looks like this: I have 2600 movies in the first column and there are names of directors and staffs in other columns. Some names appear several times. I'm having trouble converting this excel data to a format that I can perform two-mode network analysis(event: movie, ties from those movies) in r. Are there any helping documents or codes that I can convert this data to a proper format? 回答1: You can do this using igraph (which calls this type of network bipartite ).