R: Adjacency list to Adjacency matrix
问题 Bonjour, I would like to convert an adjacency list (3 columns ) to an adjacency matrix. In this forum I have found multiple examples on how to convert an edge list to an adjacency matrix. I successfully managed to do it for a two columns list. I have tried all the solutions I could find on the web but it seems that I missing a little step. What I tried My variables are User, Country, books User<-c("maman","sophia","Antoine") Country<-c("Canada","USA","Mexico") books<-c("Coelho","Rimbaud","The