plot_adjacency_matrix: Plotting a package adjacency matrix.

Description Usage Arguments

Description

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.

Usage

1
2
3
plot_adjacency_matrix(adj_matrix, col_called = "skyblue2",
  col_caller = "darkgoldenrod1", col_orphan = "lightgrey",
  space_multiplier = 1, ...)

Arguments

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.


aaronrudkin/werner documentation built on May 23, 2019, 6:03 a.m.