Skip to contents

Bundle factors

Usage

pipe_bundle_factors(graf, value = "")

Arguments

graf

A mapfile representing a causal map. A mapfile is a tidygraph, which consists of a table of edges linked to a table of nodes, with an optional additional table of statements. In this package, nodes are called `factors` and edges are called `links.`

value

A search string.

Value

A mapfile in which factors matching the search string are merged into one, with rerouted links. If the search string is empty, factors with the same first word are grouped.