adjustGraph: IFC Graph Adjustment

View source: R/graphs_utils.R

adjustGraphR Documentation

IFC Graph Adjustment

Description

Helper to readjust 'IFC_data' graphs in case of missing feature, region, population.

Usage

adjustGraph(obj, graph, adjust_graph = TRUE, ...)

Arguments

obj

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

graph

a graph from 'obj' or a list that can 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, graph(s) will be removed no matter if features, regions, pops it refers to are found in 'obj'.

...

other arguments to be passed.


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