data_add_graphs: Add Graphs to IFC_data Object

View source: R/data_add_graphs.R

data_add_graphsR Documentation

Add Graphs to IFC_data Object

Description

Adds graphs to an already existing 'IFC_data' object.

Usage

data_add_graphs(obj, graphs, adjust_graph = TRUE, ...)

Arguments

obj

an 'IFC_data' object extracted by ExtractFromDAF(extract_features = TRUE) or ExtractFromXIF(extract_features = TRUE).

graphs

a list of graph(s) to add to obj. Each element of this list will be coerced by buildGraph.

adjust_graph

whether to try to adjust graph(s) when possible. Default is TRUE.
-TRUE, graph(s) will be kept if possible using only regions, pops it depends that can be found in 'obj',
-FALSE, graph(s) will be kept only if all features, regions, pops it refers to are found in 'obj',
-NA, is not allowed and will throw an error.

...

Other arguments to be passed.

Value

an IFC_data object with graphs added.


IFC documentation built on Sept. 14, 2023, 1:08 a.m.