render_causal_net: Renders a Causal net as graph
Description
Renders a Causal net as graph
Usage
render_causal_net(
causal_net,
rankdir = "LR",
layout = "dot",
render = T,
fixed_edge_width = F,
fixed_node_pos = NULL,
...
)
Value
A DiagrammeR graph of the Causal net.
Arguments
- causal_net
A causal net created by causal_net
- rankdir
Rankdir to be used for DiagrammeR.
- layout
Layout to be used for DiagrammeR.
- render
Whether to directly render the DiagrammeR graph or simply return it.
- fixed_edge_width
If TRUE, don't vary the width of edges.
- fixed_node_pos
When specified as a data.frame with three columns 'act', 'x', and 'y' the position of nodes is fixed. Note that his can only be used with the 'neato' layout engine.
- ...
Further parameters forwarded to the DiagrammeR render function.
Examples
Run this coderender_causal_net(causal_net(L_heur_1))
Run the code above in your browser using DataLab