Learn R Programming

checked (version 0.5.0)

graph_dedup_attrs: Deduplicate attributes

Description

Primarily intended for cleaning up the result of an igraph::union(), which adds duplicated attributes when attributes of the same name exist in multiple graphs. Searches for suffixes and consolidates attributes, taking the attribute from the first non-NA value observed.

Usage

graph_dedup_attrs(g)

Arguments

g

task_graph object