Description Usage Arguments Examples
This function allows you to convert your graph to adjacency matrix format.
1 2 3 4 | as.adjacency(
g,
from = c("auto", "adjacency", "edges", "graph", "igraph", "bnlearn")
)
|
g |
Graph object. |
from |
Input format (optional): 'auto', 'adjacency', 'edges', 'graph', 'igraph', or 'bnlearn'. Default: 'auto' |
1 | g <- as.adjacency(g)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.