my_union: Attribute-preserving igraph union

Description Usage Arguments Value Author(s)

Description

Transforms the resulting output from igraph::union to adequately recover the original attributes. Apart from vertex attributes, the "label" attribute from edges, used to define object properties, is fixed.

Usage

1
my_union(g, g1, g2)

Arguments

g

The union graph

g1

First input graph

g2

Second input graph

Value

Invisible returns a new graph with fixed attributes

Author(s)

J. Bedia


Predictia/metaclipR documentation built on May 14, 2019, 6:07 a.m.