pipe_remove_brackets: Remove bracketed expressions

pipe_remove_bracketsR Documentation

Remove bracketed expressions

Description

Remove bracketed expressions

Usage

pipe_remove_brackets(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

c("[","(")

Value

A mapfile in which the factor labels have had any text enclosed with square brackets or round brackets removed, along with the brackets.


stevepowell99/CausalMapFunctions documentation built on Oct. 12, 2023, 11:13 a.m.