load_network | R Documentation |
Loads an igraph network from a filepath to an edge list.
load_network(
path_to_edgelist,
type = NULL,
name = NULL,
col_names = c("from", "to", "weight"),
select = 1:3,
header = "auto",
directed = FALSE,
verbose = FALSE
)
path_to_edgelist |
A path to a network file in edgelist format. Expected to have two columns: 'from', 'to', and 'weight'. |
type |
The edge type. |
name |
The name of the network. |
col_names |
The column names to use for the edgelist. |
select |
The columns to select from the edgelist. |
directed |
Whether the network is directed. |
verbose |
Print progress to console. |
An igraph network object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.