plot_adj | R Documentation |
This function creates a plot of an adjacency matrix, where the matrix is displayed as an image.
plot_adj(X, ...)
X |
An adjacency matrix to be plotted. |
... |
Additional graphical parameters to pass to 'image'. |
Generates a plot.
adj_matrix <- matrix(rbinom(100, 1, 0.5), 10, 10)
plot_adj(adj_matrix)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.