edgelist_to_matrix function

Convert data from edgelist to interaction matrix