patch_graphs() patches graphs with 'patchwork'
calmr_model_graph(
x,
loops = TRUE,
limits = max(abs(x$value)) * c(-1, 1),
colour_key = FALSE,
t = max(x$trial),
options = get_graph_opts()
)patch_graphs(graphs, selection = names(graphs))
get_graph_opts(graph_size = "small")
A 'ggplot' object
patch_graphs() returns a 'patchwork' object
A list with graph options, to be passed to ggnetwork::geom_nodes().
A data.frame-like with data to use in the plot.
Contains a column named value.
Logical. Whether to draw arrows back and forth
Numerical. Limits for color scale. Defaults to max(abs(x$value))*c(-1,1).
Logical. Whether to show the color key
The trial from which weights are obtained (defaults to the maximum trial in the data).
A list with graph options, as returned by get_graph_opts().
A list of (named) graphs, as returned by graph() or
calmr_model_graph()
A character or numeric vector determining the plots to patch.
A string (either "small" or "large"). to return default values for small or large graphs
Numerical. The trial to graph.