render_causal_net {heuristicsmineR} | R Documentation |
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,
...
)
Arguments
causal_net |
A causal net created by |
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. |
Value
A DiagrammeR graph of the Causal net.
Examples
render_causal_net(causal_net(L_heur_1))
[Package heuristicsmineR version 0.3.0 Index]