Sums gGraphs using default aggregation operation for metadata (sum for numeric and paste(..., collapse = ',') for character, and c() for list)

# S3 method for gGraph
sum(..., by = NULL, na.rm = TRUE)

Arguments

...

set of gGraph arguments (names will be incorporated as graph metadata $parent.graph)

y

gGraph

Value

A new gGraph object that is the sum of the component gGraphs