View source: R/graph.utility.R
weighted.adjacency.matrix | R Documentation |
Build a symmetric weighted adjacency matrix (wadj matrix) of a graph.
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.
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.