View source: R/helper_gengraph.R
| as_adj_mat | R Documentation |
Converts an adjacency list to an adjacency matrix
as_adj_mat(adj)
adj |
Adjacency list |
An adjacency matrix
adj <- list(a = c("b", "d"), b = c("a", "c", "d"), c = c("b", "d"), d = c("a", "c", "b"))
as_adj_mat(adj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.