plot_causal_network: Visualize a causal network as directed graph from node and...

Description Usage Arguments

View source: R/plotters.R

Description

Visualize a causal network as directed graph from node and edge data.

Usage

1
2
plot_causal_network(graph_data, geom = "text", str_wrap_width = 10,
  arrow_curvature = 0.05, layout = "auto", ...)

Arguments

graph_data

A tidygraph object with nodes and edges with "name", "from", "to", and optionally other variables.

geom

A character name of geometric object to represent nodes, either "text" or "point".

str_wrap_width

A numeric width for the string wrapping algorithm.

arrow_curvature

A numeric curvature of the edge arrows.

layout

A character name of layout algorithm to use in ggraph, defaults to the force layout. See ?ggraph::ggraph for more.


eteppo/tvs-project documentation built on Aug. 13, 2019, 8:53 a.m.