Learn R Programming

IFC (version 0.2.1)

data_add_graphs: 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, ...)

Value

an IFC_data object with graphs added.

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.