render_causal_net: Renders a Causal net as graph

Description Usage Arguments Value Examples

View source: R/render_causal_net.R

Description

Renders a Causal net as graph

Usage

1
2
3
4
5
6
7
8
9
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 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.

Value

A DiagrammeR graph of the Causal net.

Examples

1

heuristicsmineR documentation built on April 14, 2020, 6:36 p.m.