update_graph: update_graph

Description Usage Arguments Value

View source: R/update_graph.R

Description

Function to update the structure of a graph, given a set of modification as returned by assess_duplicates

Usage

1
update_graph(x, del = NULL, add = NULL, changes = NULL)

Arguments

x

a tgraph object to modify

del

A vector of element names or numbers to delete

add

An edge sequence of edges to add to the graph

changes

Alternatively, the output of assess_duplicates, containing proposed deletions and additions

Value

An updated tgraph object


jf15558/FAU.JFS documentation built on Jan. 21, 2022, 6:52 a.m.