Description Usage Arguments Details Examples
Convert adjacency list to adjacency matrix
| 1 | adjacencyList2Matrix(lt, square = FALSE)
 | 
| lt | a data frame which contains adjacency list. | 
| square | is the returned matrix a square matrix? | 
Convert adjacency list to adjacency matrix.
| 1 2 3 4 5 6 7 8 9 10 | lt = data.frame(letters[1:5], letters[6:10])
adjacencyList2Matrix(lt)
lt = data.frame(letters[1:5], letters[6:10], 1:5)
adjacencyList2Matrix(lt)
set.seed(123)
lt = data.frame(sample(letters, 4), sample(letters, 4), 1:4)
adjacencyList2Matrix(lt)
adjacencyList2Matrix(lt, square = TRUE)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.