Description Usage Arguments Examples
View source: R/draw_weighted_graph.R
Works well for 3-5 nodes
1 | draw_weighted_graph(graph, labels, weights)
|
graph |
The adjacency matrix of the graph you want drawn |
labels |
The names for the nodes in the graph |
weights |
vector length N^2 that defines a greyscale intensity for each edge in the adjacency matrix including those that are not drawn |
1 | draw_weighted_graph(matrix(1,3,3, byrow=T), c('A','B','C'), runif(9))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.