Description Usage Arguments Value Examples
View source: R/graph.utility.R
Construct a Weighted Adjacency Matrix (wadj matrix) of a graph.
1 | weighted.adjacency.matrix(file = "edges.txt")
|
file |
name of the plain text file to be read ( |
a named symmetric weighted adjacency matrix of the graph.
1 2 | edges <- system.file("extdata/edges.txt.gz", package="HEMDAG");
W <- weighted.adjacency.matrix(file=edges);
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.