This function provides helpful defaults for plotting a package adjacency matrix. The default settings attempt to maximize the space between dense parts of the graph. Private, non-exported functions are prefixed by a ":" in the graph labels.
1 2 3 | plot_adjacency_matrix(adj_matrix, col_called = "skyblue2",
col_caller = "darkgoldenrod1", col_orphan = "lightgrey",
space_multiplier = 1, ...)
|
adj_matrix |
An adjacency matrix generated by 'adjacency_matrix()' |
col_called |
Graphical parameter for the color of functions that are called by other functions, defaults to "skyblue2" |
col_caller |
Graphical parameter for the color of functions that only call other functions, defaults to "darkgoldenrod1". |
col_orphan |
Graphical parameter for the color of functions that neither call nor are called, defaults to "lightgrey" |
space_multiplier |
Numeric that affects how much space between nodes in the plot. |
... |
Other graphical arguments, see '?qgraph' for more information. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.