Description Usage Arguments Examples
This function allows you to import a local graph.
1 2 3 4 5 6 7 8 | import.graph(
path,
sep = "\t",
header = TRUE,
index = TRUE,
from = c("adjacency", "edges"),
to = c("igraph", "adjacency", "edges", "graph", "bnlearn")
)
|
path |
Path to local graph. |
sep |
Separator / delimiter character (optional). Default: TAB |
header |
Whether or not the file has a header (optional). Default: TRUE |
index |
Whether or not the file has an index column (optional). Default: TRUE |
from |
Input format (optional): 'adjacency' or 'edges'. Default: 'adjacency' |
to |
Output format (optional): 'adjacency', 'edges', 'graph', 'igraph', or 'bnlearn'. Default: 'igraph' |
1 | g <- import.graph('mygraph.tsv')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.